Skip to content

Commit

Permalink
fix: use codecov token in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Shengtuo Hu <[email protected]>
  • Loading branch information
h1994st committed Dec 12, 2024
1 parent 9380848 commit b10f409
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,12 @@ jobs:
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov

- name: Generate code coverage
- name: Generate code coverage reports
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
files: lcov.info
fail_ci_if_error: true

0 comments on commit b10f409

Please sign in to comment.