Skip to content

Commit f05f4fc

Browse files
committed
Fix codecov upload
1 parent fd3f342 commit f05f4fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,7 @@ jobs:
4242
- name: Run Tests
4343
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic
4444

45-
- name: Upload coverage to Codecov
46-
run: bash <(curl -s https://codecov.io/bash)
45+
- name: Upload coverage reports to Codecov
46+
uses: codecov/codecov-action@v5
47+
with:
48+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)