Skip to content

Commit c3889f6

Browse files
committed
gh-action: Fix Codecov
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 <tim@hyper.sh>
1 parent caeec72 commit c3889f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/cov.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ jobs:
1616
- name: Generate code coverage
1717
run: cargo llvm-cov --all-features --lcov --output-path lcov.info
1818
- name: Upload coverage to Codecov
19-
uses: codecov/codecov-action@v3
19+
uses: codecov/codecov-action@v4
20+
env:
21+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2022
with:
2123
files: lcov.info
2224
fail_ci_if_error: true

0 commit comments

Comments
 (0)