We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 874f39f commit ebfc641Copy full SHA for ebfc641
.github/workflows/go-build.yml
@@ -19,10 +19,12 @@ jobs:
19
- uses: actions/setup-go@v3
20
with:
21
go-version: '1.25'
22
- - name: Run coverage
23
- run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
24
- - name: Upload coverage to Codecov
25
- run: bash <(curl -s https://codecov.io/bash)
+ - name: Run tests with data race detection
+ run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
+ - name: Upload coverage reports to Codecov
+ uses: codecov/codecov-action@v5
26
+ with:
27
+ token: ${{ secrets.CODECOV_TOKEN }}
28
test:
29
strategy:
30
matrix:
0 commit comments