Skip to content

Update Swatinem/rust-cache digest to f0deed1 #69

Update Swatinem/rust-cache digest to f0deed1

Update Swatinem/rust-cache digest to f0deed1 #69

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
name: Test coverage
jobs:
coverage:
name: Collect test coverage
runs-on: ubuntu-latest
# nightly rust might break from time to time
continue-on-error: true
env:
RUSTFLAGS: -D warnings
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: dtolnay/rust-toolchain@nightly # Use nightly to get access to coverage --doc
with:
components: llvm-tools-preview
- uses: Swatinem/rust-cache@720f7e45ccee46c12a7b1d7bed2ab733be9be5a1 # v2
- name: Install latest nextest release
uses: taiki-e/install-action@nextest
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Collect coverage data
run: ./scripts/commands.sh coverage
- name: Upload coverage data to codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3
with:
files: lcov.info, lcov-doctest.info