Skip to content

build: update lockfiles #171

build: update lockfiles

build: update lockfiles #171

Workflow file for this run

name: Test Coverage
on:
push:
pull_request:
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Setup Rust
id: rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@v2
with:
tool: cargo-llvm-cov
- uses: actions/checkout@v4
- run: cargo fetch
- uses: actions/cache@v4
with:
key: coverage-${{ steps.rust.outputs.cachekey }}-${{ hashFiles('**/Cargo.*') }}
path: target/
- name: Run cargo-llvm-cov
run: cargo llvm-cov --all-features --html
- name: Upload Report
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: target/llvm-cov/html