Compare commits

...

2 commits

Author SHA1 Message Date
Austin Schaefer
6e97b4f4d9 Use cargo-llvm-cov baked into the rust-ci image instead of caching
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-20 11:23:01 +02:00
Austin Schaefer
c2868100f6 Cache the cargo-llvm-cov binary in the coverage job
Skips the compile on cache hits; version is pinned so the cache key
matches what gets installed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-20 11:20:31 +02:00

View file

@ -101,14 +101,8 @@ jobs:
restore-keys: |
sccache-${{ runner.os }}-
# Not baked into the rust-ci image (see docker/rust-ci in
# infrastructure) — install fresh each run rather than bumping the
# shared image just for this one project.
- name: Install cargo-llvm-cov
run: |
rustup component add llvm-tools-preview
command -v cargo-llvm-cov >/dev/null 2>&1 || cargo install cargo-llvm-cov --locked
# cargo-llvm-cov and llvm-tools-preview are baked into the rust-ci
# image (see docker/rust-ci in infrastructure).
# Reports coverage only — no --fail-under-lines yet. main.rs is
# excluded: thin argv dispatch exercised by the real end-to-end
# `cargo run`, not unit tests, so it's not a meaningful signal here.