Skip to content

chore(deps): update taiki-e/install-action digest to e825cea (#395) #976

chore(deps): update taiki-e/install-action digest to e825cea (#395)

chore(deps): update taiki-e/install-action digest to e825cea (#395) #976

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
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
# Nightly Rust is used for cargo llvm-cov --doc below.
- uses: dtolnay/rust-toolchain@nightly
with:
components: llvm-tools-preview
- uses: Swatinem/rust-cache@720f7e45ccee46c12a7b1d7bed2ab733be9be5a1 # v2
- name: Install tools
uses: taiki-e/install-action@e825cea3ae7859bea8ac6c1c1ecde4d7699f05b6 # v2
with:
tool: cargo-llvm-cov,just,nextest
- name: Collect coverage data
run: |
just coverage --lcov --output-path lcov.info
- name: Upload coverage data to codecov
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: lcov.info