Skip to content

fix: bump actions/cache to v6 - #402

Merged
benjie merged 1 commit into
graphql:mainfrom
xballoy:fix/bump-actions-cache
Sep 3, 2026
Merged

benjie merged 1 commit into
graphql:mainfrom
xballoy:fix/bump-actions-cache

Conversation

@xballoy

@xballoy xballoy commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

CI is currently red on every PR (e.g. #401) because actions/cache@v2 is used in .github/workflows/ci.yml. GitHub has shut down the old cache service backing actions/cache v1/v2, so any job using it now fails immediately at "Prepare all required actions":

##[error]This request has been automatically failed because it uses a deprecated version of `actions/cache: v2`. Please update your workflow to use v3/v4 of actions/cache to avoid interruptions.

See the changelog.

This bumps all three actions/cache@v2 references to v6 (the current major version tag) to unblock CI.

Test plan

  • Confirmed the failure reproduces identically in the lint, coverage, and test jobs of a recent run
  • CI on this PR passes past the cache step

actions/cache v1/v2 requests are now automatically failed by GitHub
(cache service shutdown, see
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),
breaking every CI job that used to cache npm modules.

@benjie benjie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (6600e95) to head (0d101ec).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #402   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           21        21           
  Lines          748       748           
  Branches        48        48           
=========================================
  Hits           748       748           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@benjie
benjie merged commit 89c251b into graphql:main Sep 3, 2026
10 checks passed
@captbaritone captbaritone mentioned this pull request Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants