Skip to content

Commit

Permalink
Use stable rust for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
spencewenski committed May 21, 2024
1 parent 7e9f0fb commit 6ab77d0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
RUSTFLAGS: -D warnings -A unexpected_cfgs
CARGO_TERM_COLOR: always
steps:
- uses: dtolnay/rust-toolchain@nightly
with:
components: llvm-tools-preview
# - uses: dtolnay/rust-toolchain@nightly
# with:
# components: llvm-tools-preview
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@nextest
Expand All @@ -29,8 +29,7 @@ jobs:
# Generate coverage report using nextest.
run: |
cargo llvm-cov --no-report nextest --all-features
cargo llvm-cov --no-report --doc --all-features
cargo llvm-cov report --doctests --lcov --output-path lcov.info
cargo llvm-cov report --lcov --output-path lcov.info
- name: Upload coverage data to codecov
uses: codecov/codecov-action@v4
env:
Expand Down

0 comments on commit 6ab77d0

Please sign in to comment.