fix(ci): replace unpinned third‑party cache action with actions/cache@v4 - #72
Merged
micahkendall merged 2 commits intoMay 5, 2026
Merged
Conversation
SupernaviX
approved these changes
May 4, 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.
Motivation
Swatinem/rust-cache@v2was introduced in Docker-related workflows and created a CI supply‑chain risk because the tag is not pinned to a commit SHA and the publish workflow has elevated/persistent credentials.Description
uses: Swatinem/rust-cache@v2withuses: actions/cache@v4in.github/workflows/docker.ymland.github/workflows/refresh-docker-cache.yml.path,key, andrestore-keysconfiguration so caching remains scoped per Rust target and keepscargo-registry-cacheandsccache-cachedirectories.Cargo Cacheto match prior semantics and kept the compile/build steps unchanged.Testing
git diff --checkto ensure there are no whitespace/patch-format problems and it succeeded.git commitand inspected the commit stat usinggit show --stat, which succeeded.python+yaml.safe_loadbut it failed due to the environment missing thePyYAMLmodule (ModuleNotFoundError), so automated YAML schema validation was not executed.Codex Task