Skip to content

Commit bd74ddc

Browse files
committed
add codecov token
1 parent eaef537 commit bd74ddc

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/cover.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ jobs:
2323
with:
2424
go-version: '1.20'
2525
- run: "PATH=/usr/local/go/bin:$PATH make test-cover"
26-
- uses: Wandalen/wretry.action@a163f62ae554a8f3cbe27b23db15b60c0ae2e93c # v1.3.0 Retry codecov upload. It is flaky due to a known issue https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
26+
- uses: codecov/codecov-action@84508663e988701840491b86de86b666e8a86bed # v4.3.0
27+
env:
28+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2729
with:
28-
attempt_limit: 20
29-
action: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
30-
with: |
31-
file: ./coverage.out
32-
fail_ci_if_error: true
30+
files: ./coverage.out
31+
fail_ci_if_error: true

0 commit comments

Comments
 (0)