Skip to content

docs: add change log link #78

docs: add change log link

docs: add change log link #78

Workflow file for this run

name: Code Coverage
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
permissions:
id-token: write
# Allow just one concurrent job per branch.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
code-coverage:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
id: rust-toolchain
with:
components: llvm-tools-preview
- uses: taiki-e/install-action@cargo-llvm-cov
- uses: actions/cache@v5
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: code-coverage OS:${{runner.os}} Rust:${{steps.rust-toolchain.outputs.cachekey}}
Lock:${{hashFiles('**/Cargo.lock')}}
- name: Generate Code Coverage Report
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: Upload Report to Codecov
uses: codecov/codecov-action@v6
with:
use_oidc: true
files: lcov.info
fail_ci_if_error: true