diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 88634264cf..4439ef961c 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -9,7 +9,7 @@ jobs: name: llvm-cov runs-on: ubuntu-latest env: - CARGO_TERM_COLOR: always + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} steps: - uses: actions/checkout@v4 # nightly is required for --doctests, see cargo-llvm-cov#2 @@ -21,8 +21,6 @@ jobs: run: cargo +nightly llvm-cov --all-features --workspace --lcov --doctests --output-path lcov.info - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: lcov.info fail_ci_if_error: true