Write a GitHub Actions workflow file at /app/.github/workflows/main.yml matching the structural specification below. The verifier runs yamllint on your file and then compares its structure against a hidden reference workflow. You pass when the YAML parses cleanly and your workflow covers the reference's jobs and actions (thresholds: ≥ 70% of reference job names present, ≥ 50% of reference actions referenced; or, for single-job references, ≥ 50% of reference actions in any one of your jobs).
Workflow spec
Workflow name: build
Triggers: pull_request, push
Required jobs
WindowsTest (runs-on: windows-latest)
Checkout — uses actions/checkout
Set up Go — uses actions/setup-go
Cache Go modules — uses actions/cache
Run tests — runs go test -v -race -count=1 ./...
goreleaser (runs-on: ubuntu-latest)
Checkout — uses actions/checkout
Set up Go — uses actions/setup-go
Cache Go modules — uses actions/cache
Set up QEMU — uses docker/setup-qemu-action
Set up Docker Buildx — uses docker/setup-buildx-action