Skip to content

CI: use rust-cache actions#1444

Merged
marxin merged 1 commit into
wild-linker:mainfrom
marxin:ci-use-rust-cache-action
Jan 12, 2026
Merged

CI: use rust-cache actions#1444
marxin merged 1 commit into
wild-linker:mainfrom
marxin:ci-use-rust-cache-action

Conversation

@marxin

@marxin marxin commented Jan 11, 2026

Copy link
Copy Markdown
Collaborator

By default the action uses the following parts for key:

  • the github job_id (if add-job-id-key is "true"),
  • 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).
  • a hash of all rust-toolchain / rust-toolchain.toml files in the root of the repository (if present).
  • a hash of all .cargo/config.toml files in the root of the repository (if present).

And so, we only need to append something for the matrix-based job description.

By default the action uses the following parts for key:
- the github job_id (if add-job-id-key is "true"),
- 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).
- a hash of all rust-toolchain / rust-toolchain.toml files in the root of the repository (if present).
- a hash of all .cargo/config.toml files in the root of the repository (if present).

And so, we only need to append something for the matrix-based job description.
@marxin marxin merged commit ca8a334 into wild-linker:main Jan 12, 2026
20 checks passed
@marxin marxin deleted the ci-use-rust-cache-action branch January 12, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants