Skip to content

ci: bump actions/cache v2 → v4 to unblock CI - #219

Closed
kevinch wants to merge 1 commit into
mainfrom
fix-actions-cache-v4
Closed

ci: bump actions/cache v2 → v4 to unblock CI#219
kevinch wants to merge 1 commit into
mainfrom
fix-actions-cache-v4

Conversation

@kevinch

@kevinch kevinch commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Problem

GitHub now automatically hard-fails any workflow that uses the deprecated actions/cache@v2. In .github/workflows/ci.yml this breaks the install job at the "Getting action download info" step, which cascades to test, lint, and all Cypress link-app / delete-workspace jobs.

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@v2 usages 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

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>
@kevinch
kevinch requested a review from a team as a code owner July 23, 2026 18:06
@vtex-io-ci-cd

vtex-io-ci-cd Bot commented Jul 23, 2026

Copy link
Copy Markdown

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:

  • Patch (backwards-compatible bug fixes)

  • Minor (backwards-compatible functionality)

  • Major (incompatible API changes)

And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.

  • No thanks, I would rather do it manually 😞

@vtex-pr-sentinel

vtex-pr-sentinel Bot commented Jul 23, 2026

Copy link
Copy Markdown

🛡️ SDD Check — action required

I couldn't detect an SDD in this PR. Please check one option below (requires write access to the repo):

  • SDD lives in another PR — paste the SDD PR URL here:
  • This PR doesn't need an SDD
  • SDD applies, but I'm not adopting it in this PR

@kevinch kevinch closed this Jul 23, 2026
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