ci: bump actions/cache v2 → v4 to unblock CI - #219
Closed
kevinch wants to merge 1 commit into
Closed
Conversation
GitHub now hard-fails workflows using the deprecated actions/cache@v2, breaking the install job and all dependent jobs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖 Please select which version do you want to release:
And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.
|
🛡️ SDD Check — action requiredI couldn't detect an SDD in this PR. Please check one option below (requires write access to the repo):
|
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.
Problem
GitHub now automatically hard-fails any workflow that uses the deprecated
actions/cache@v2. In.github/workflows/ci.ymlthis breaks theinstalljob at the "Getting action download info" step, which cascades totest,lint, and all Cypresslink-app/delete-workspacejobs.Reference: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Fix
Bump the three
actions/cache@v2usages to@v4. This unblocks CI for all open PRs in the repo.Note
The workflow also uses other very old actions (
actions/checkout@v1,actions/setup-node@v1). Those aren't hard-failed yet, so they're left out of this focused fix — worth a follow-up.🤖 Generated with Claude Code