build(deps): bump reviewdog/action-actionlint from 1.54.0 to 1.57.0 (… #1388
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverage | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
path: | |
- '**/*.rs' | |
- '**/*.txt' | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
- 'codecov.yml' | |
- '.github/workflows/coverage.yml' | |
jobs: | |
coverage: | |
name: Coverage | |
runs-on: ubuntu-latest | |
env: | |
CARGO_INCREMENTAL: 0 | |
RUST_BACKTRACE: full | |
steps: | |
- uses: actions/[email protected] | |
with: | |
persist-credentials: false | |
- uses: actions-rs/[email protected] | |
with: | |
toolchain: stable | |
override: true | |
profile: minimal | |
components: llvm-tools-preview | |
- name: Install cargo-llvm-cov cargo command | |
run: cargo install cargo-llvm-cov | |
- name: Run tests | |
run: cargo llvm-cov --lcov --no-report --ignore-filename-regex '.*(tests).*|benches.rs|gencode|helpers.rs|interoperability_tests.rs' | |
- name: Generate coverage report | |
run: cargo llvm-cov report --lcov --ignore-filename-regex '.*(tests).*|benches.rs|gencode|helpers.rs|interoperability_tests.rs' --output-path lcov.info | |
- name: Upload coverage report to Codecov | |
uses: codecov/[email protected] |