Skip to content

Update Swatinem/rust-cache digest to f0deed1 #268

Update Swatinem/rust-cache digest to f0deed1

Update Swatinem/rust-cache digest to f0deed1 #268

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: dtolnay/rust-toolchain@nightly # Use nightly to get access to coverage --doc
with:
components: llvm-tools-preview
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # 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@f30e4959ba63075080d4f7f90cacc18d9f3fafd7 # v4
with:
files: lcov.info, lcov-doctest.info