Skip to content

Commit

Permalink
fix: add codecov token to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hougesen committed Feb 12, 2024
1 parent ebdd15d commit 0e19e36
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,22 @@ jobs:
env:
CARGO_TERM_COLOR: always
steps:
- name: checkout_repository
- name: Checkout
uses: actions/checkout@v4

- name: install_rust_nightly
- name: Install Rust
uses: dtolnay/rust-toolchain@stable

- name: install_code_coverage_tool
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov

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

- name: upload_code_coverage
- name: Upload code coverage
uses: codecov/codecov-action@v4
with:
files: lcov.info
env:
token: ${{ secrets.CODECOV_TOKEN }}
slug: hougesen/hitt

0 comments on commit 0e19e36

Please sign in to comment.