github.com/massongit/reviewdog@v0.0.0-20240331071725-4a16675475a8/.github/workflows/go.yml (about) 1 name: Go 2 on: [push,pull_request] 3 jobs: 4 5 test: 6 permissions: 7 contents: read 8 name: Test 9 runs-on: ubuntu-latest 10 steps: 11 12 - uses: actions/checkout@v4 13 with: 14 fetch-depth: 50 # Need git history for testing. 15 16 - uses: actions/setup-go@v5 17 with: 18 go-version-file: "go.mod" 19 20 - name: Test 21 run: go test -v -race -coverpkg=./... -coverprofile=coverage.txt ./... 22 23 - uses: codecov/codecov-action@v4