Consider all installed toolchains in cache key (#293)

This commit is contained in:
Tamir Duberstein
2025-12-16 12:30:13 +01:00
committed by GitHub
parent 0aa729bb7a
commit 5e4a767433
4 changed files with 162 additions and 54 deletions

View File

@@ -143,7 +143,8 @@ This cache is automatically keyed by:
- the github [`job_id`](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_id)
(if `add-job-id-key` is `"true"`),
- the rustc release / host / hash,
- the rustc release / host / hash (for all installed toolchains when
available),
- the following values, if `add-rust-environment-hash-key` is `"true"`:
- the value of some compiler-specific environment variables (eg. RUSTFLAGS, etc), and
- a hash of all `Cargo.lock` / `Cargo.toml` files found anywhere in the repository (if present).