CI: Enable caching of Rust toolchain and build artifacts for CI/CD performance#150
Open
hyperfinitism wants to merge 2 commits into
Open
CI: Enable caching of Rust toolchain and build artifacts for CI/CD performance#150hyperfinitism wants to merge 2 commits into
hyperfinitism wants to merge 2 commits into
Conversation
Replace rust-toolchain with setup-rust-toolchain to enable caching of the Rust toolchain and build artifacts. This will significantly reduce execution time. Signed-off-by: Takuma IMAMURA <209989118+hyperfinitism@users.noreply.github.com>
Bumps the following GitHub actions to the latest releases: - actions/checkout from v4 to v6 - actions/upload-artifact from v4 to v7 - actions/download-artifact from v4 to v8 The current versions (v4) depend on Node.js 20 which will be End-of-Life on Apr 30, 2026. The latest versions use Node.js 24 (Active LTS). Signed-off-by: Takuma IMAMURA <209989118+hyperfinitism@users.noreply.github.com>
DGonzalezVillal
approved these changes
May 12, 2026
DGonzalezVillal
left a comment
Member
There was a problem hiding this comment.
lgtme @larrydewey @tylerfanelli ptal
tylerfanelli
approved these changes
May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR switches CI workflows from
dtolnay/rust-toolchaintoactions-rust-lang/setup-rust-toolchain, which enables built-in caching (viaSwatinem/rust-cacheinternally) for the Rust toolchain and Cargo build artifacts to significantly speed up CI/CD runs.This PR bumps each
actions/*action from v4 to its latest version to avoid dependencies on Node 20, which is nearing its end-of-life (Apr 30, 2026).Fixes #148.
Changes
dtolnay/rust-toolchain@stable→actions-rust-lang/setup-rust-toolchain@v1actions/checkout:v4→v6actions/upload-artifact:v4→v7actions/download-artifact:v4→v8