Skip to content

Commit

Permalink
gh-action: Fix Codecov
Browse files Browse the repository at this point in the history
Add token for Codecov to fixe problem:
"Rate limit reached. Please upload with the Codecov repository upload token to resolve issue"

Signed-off-by: Tim Zhang <[email protected]>
  • Loading branch information
Tim-Zhang committed Sep 24, 2024
1 parent 398a9a8 commit c0a4dff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
- name: Generate code coverage
run: cargo llvm-cov --all-features --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: lcov.info
fail_ci_if_error: true

0 comments on commit c0a4dff

Please sign in to comment.