Skip to content

Commit ebfc641

Browse files
committed
ci
1 parent 874f39f commit ebfc641

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/go-build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ jobs:
1919
- uses: actions/setup-go@v3
2020
with:
2121
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)
22+
- name: Run tests with data race detection
23+
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
24+
- name: Upload coverage reports to Codecov
25+
uses: codecov/codecov-action@v5
26+
with:
27+
token: ${{ secrets.CODECOV_TOKEN }}
2628
test:
2729
strategy:
2830
matrix:

0 commit comments

Comments
 (0)