We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dccc3e5 commit 1cb6e9bCopy full SHA for 1cb6e9b
1 file changed
.github/workflows/ci.yml
@@ -46,12 +46,12 @@ jobs:
46
run: go build ./...
47
48
- name: Test
49
- run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
+ run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
50
51
- name: Coverage summary
52
- run: go tool cover -func=coverage.out | tail -1 >> $GITHUB_STEP_SUMMARY
+ run: go tool cover -func=coverage.txt | tail -1 >> $GITHUB_STEP_SUMMARY
53
54
- - uses: actions/upload-artifact@v7
+ - name: Upload coverage reports to Codecov
55
+ uses: codecov/codecov-action@v5
56
with:
- name: coverage-report-${{ matrix.go-version }}
57
- path: coverage.out
+ token: ${{ secrets.CODECOV_TOKEN }}
0 commit comments