Record what sccache delivered as cache.sccache.* facts in the step summary and for the timing-report Cache section, plus the raw sccache --show-stats output in a log group.
Use it as a late step after the builds it accounts for, in jobs that ran sccache.
- uses: gronke/ci/.github/actions/rust/sccache-stats@v3
if: always()None.
- A no-op unless
RUSTC_WRAPPERis an executable whose--versionreports sccache, however it was installed. - Records
cache.sccacheas<hits> hits / <misses> misses of <requests> compile requests, andcache.sccache.errorswhen the error count is not zero. - The facts need
jq; without it only the log group is written. - The facts render as a small table in the step's own summary, so they show without
timing-report. - Never fails the job: a broken stats query costs the numbers, not the build.
- Composite actions have no post hooks, hence the separate late step, the same split as
rust-cacheandrust-cache-save.