Skip to content

chore(deps): update taiki-e/install-action digest to e0db384 (#430) #1111

chore(deps): update taiki-e/install-action digest to e0db384 (#430)

chore(deps): update taiki-e/install-action digest to e0db384 (#430) #1111

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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
# 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@e0db384ad69f5ba2c6dd0129d8934e0d0ba465c1 # 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