turbo
a84792d3 - ci: Fix Rust build cache eviction on Windows CI

Commit
267 days ago
ci: Fix Rust build cache eviction on Windows CI Two changes to the CI caching strategy: 1. Replace setup-node's built-in `cache: pnpm` with explicit actions/cache for the pnpm store. The built-in cache was creating entries with its own key format, accumulating 14 x 425MB entries on main that filled the 10GB GitHub Actions cache budget and evicted all Rust build caches. 2. Remove the main-branch-only gate on Rust cache saves. The old `save-if` expression hardcoded `github.ref == 'refs/heads/main'`, ignoring the `save-cache` input. Now it respects the input, which setup-environment sets to `true` for all non-fork runs. This lets Cargo reuse proc-macro DLLs and build script outputs across pushes to the same PR branch — the 227 proc-macro crates that sccache cannot cache will now be fingerprint-matched and skipped entirely on subsequent builds.
Author
Committer
Parents
Loading