name: Go correctness and per-file coverage on: [push, pull_request] jobs: verify: runs-on: ubuntu-latest timeout-minutes: 20 steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: '1.26.1' - run: sudo apt-get update && sudo apt-get install -y jq ruby - run: go vet ./... - run: test -z "$(gofmt -l cmd internal)" - run: LOCAL_COVERAGE=true scripts/test-local.sh - uses: actions/upload-artifact@v4 if: always() with: name: coverage path: coverage/summary.json