Skip to content

style: fix clippy lints from Rust 1.79 release (#486) #606

style: fix clippy lints from Rust 1.79 release (#486)

style: fix clippy lints from Rust 1.79 release (#486) #606

Workflow file for this run

name: Coverage
on:
pull_request:
push:
branches:
- main
jobs:
coverage:
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup install nightly && rustup default nightly
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@v2
with:
tool: [email protected],[email protected]
- name: Generate code coverage (including doc tests)
run: |
cargo llvm-cov --all-features --workspace --no-report nextest
cargo llvm-cov --all-features --workspace --no-report --doc
cargo llvm-cov report --doctests --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: true