ci: add token secret to make codecov action more stable (#850)

The codecov action can sometimes fail; this change adds the repo codecov token to use by default to help alleviate this.
This commit is contained in:
Clement Tsang 2022-10-25 00:03:39 -04:00 committed by GitHub
parent 7482e0b495
commit 97ba34e3f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# Code coverage generation via cargo-tarpaulin, and uploaded to codecov.
# Code coverage generation via cargo-llvm-cov, and uploaded to codecov.
name: codecov
@ -56,3 +56,4 @@ jobs:
with:
files: lcov.info
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}