Skip to content

chore(ci)(deps): bump the actions-minor-and-patch group across 1 directory with 8 updates #559

chore(ci)(deps): bump the actions-minor-and-patch group across 1 directory with 8 updates

chore(ci)(deps): bump the actions-minor-and-patch group across 1 directory with 8 updates #559

Workflow file for this run

name: coverage
# Workspace line coverage via `cargo-llvm-cov`, uploaded to Codecov.
#
# Non-required check (not in the branch-protection contexts — like
# `build (zola)`); a Codecov hiccup must not block a merge, so the upload
# is `fail_ci_if_error: false`. Runs on every PR and on pushes to the two
# long-lived lanes (`main`, `next`) so Codecov has a base to diff PRs
# against. Default features only (`oa-only`); the feature-gated Tier-3 TDM
# code is intentionally outside the default coverage surface.
#
# All third-party Actions are SHA-pinned (repo invariant, ADR-0013):
# checkout / rust-toolchain / rust-cache reuse the SHAs already pinned in
# ci.yml; codecov-action and install-action SHAs were resolved from their
# release tags. `CODECOV_TOKEN` is a repo secret (Codecov is connected).
on:
pull_request:
push:
branches: [main, next]
permissions:
contents: read
jobs:
coverage:
name: llvm-cov + codecov
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
with:
components: llvm-tools-preview
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: taiki-e/install-action@6c6fd71fe4fb72c3697d269963d0e15df8adedad # v2.85.10
with:
tool: cargo-llvm-cov
- name: Generate workspace coverage (lcov)
run: cargo llvm-cov --workspace --locked --lcov --output-path lcov.info
- name: Upload to Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
files: lcov.info
fail_ci_if_error: false
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}