Skip to content

ci: bump actions/cache to the node24 v6.1.0 release - #458

Merged
joshua-temple merged 1 commit into
mainfrom
ci/bump-cache-node24
Jul 5, 2026
Merged

joshua-temple merged 1 commit into
mainfrom
ci/bump-cache-node24

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

Problem

actions/cache was pinned at 0057852bfaa89a56745cba8c7296529d2fc39830 (v4.3.0) in .github/actions/setup-cli/action.yaml. That release runs on node20, which now triggers the runner deprecation warning ("actions/cache targets Node.js 20 but is being forced to run on Node.js 24").

Root cause: actions/cache was the only pinned action absent from both the pin manifest (internal/generate/action_pins.yaml) and the dependabot anchor. Because nothing governed it, neither the consistency lint nor dependabot ever proposed a bump, so it silently fell behind on node20 while every manifest-governed action (checkout, github-script, upload/download-artifact, create-github-app-token, setup-go/node, deploy-pages) is already node24.

Fix

Bring actions/cache under governance and move it to the latest release whose action.yml declares using: node24:

action from to
actions/cache 0057852bfaa89a56745cba8c7296529d2fc39830 (v4.3.0, node20) 55cc8345863c7cc4c66a329aec7e433d2d1c52a9 (v6.1.0, node24)
  • Add actions/cache to internal/generate/action_pins.yaml as an emit:false maintainer-only pin (used only by cascade's own composite action, never generated into user workflows).
  • Add it to the dependabot anchor .github/workflows/action-pins.yml so dependabot has a tracked bump entrypoint.
  • Update the setup-cli composite ref to the new SHA and precise # v6.1.0 comment.
  • Extend TestActionPinsManifest_EmitFlags to expect the newly governed action.

v6.1.0 is what GitHub marks as releases/latest (non-prerelease) and is where the v6 major tag points. The consistency guard now locks the cache pin exactly like every other action.

Verification

  • go build ./... clean
  • go test ./internal/generate/... green (incl. TestWorkflowsConsistentWithActionPins, TestActionPinsAnchorCoversManifest, TestActionPinsManifest_EmitFlags, TestDefaultActionPins_MatchesPriorHardcodedTable)
  • golangci-lint run ./internal/generate/... 0 issues
  • actionlint clean on the anchor workflow

actions/cache was pinned at v4.3.0 (0057852), which runs on node20 and now
emits a runner deprecation warning. It was also absent from the pin manifest
and the dependabot anchor, so neither the consistency lint nor dependabot ever
proposed a bump for it, letting it drift.

Bring actions/cache under governance and move it to v6.1.0
(55cc8345863c7cc4c66a329aec7e433d2d1c52a9), the latest release whose action.yml
declares using: node24: add it to internal/generate/action_pins.yaml as an
emit:false maintainer-only pin, list it in the dependabot anchor, and update the
setup-cli composite action ref. The consistency guard now locks the cache pin
like every other action.

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
@joshua-temple
joshua-temple merged commit 63a5f55 into main Jul 5, 2026
19 checks passed
@joshua-temple
joshua-temple deleted the ci/bump-cache-node24 branch July 5, 2026 04:33
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.

1 participant