chore(deps): update actions/cache action to v6#147
Conversation
|
📝 WalkthroughWalkthroughThe GitHub composite action for Nix updates the ChangesCI Cache Version Bump
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~1 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
NumaryBot
left a comment
There was a problem hiding this comment.
✅ Approve — automated review
The change only updates the actions/cache major version in the shared Nix composite action. I did not find a discrete, provable regression in the repository usage from this diff.
No findings.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/actions/nix/action.yml:
- Line 20: The action reference is using actions/cache@v6 which does not exist
yet as a released version. The latest stable release is v5. Update the uses
field from actions/cache@v6 to actions/cache@v5 to use the correct and available
version of the GitHub Actions cache action. This will ensure the composite
action resolves correctly and consuming workflows can execute without failure.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 9e269b4f-2a2b-4857-bc6d-51aaeee4a7f1
📒 Files selected for processing (1)
.github/actions/nix/action.yml
| shell: bash | ||
| run: nix develop --install | ||
| - uses: actions/cache@v5 | ||
| - uses: actions/cache@v6 |
There was a problem hiding this comment.
🩺 Stability & Availability | 🟠 Major
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "Upstream release tag:"
curl -fsSL https://api.github.com/repos/actions/cache/releases/latest | jq -r '.tag_name'
echo
echo "Any published v6 tags:"
git ls-remote --tags https://github.com/actions/cache.git | awk '/refs\/tags\/v6(\.|$)/ {print $2}'Repository: formancehq/auth
Length of output: 226
🌐 Web query:
actions/cache@v6 GitHub Actions release published version
💡 Result:
As of June 24, 2026, the actions/cache GitHub Action has not released a version v6 [1][2]. The latest stable release for the action is v5.0.5, which was published on April 13, 2026 [1]. It is important to note that while the underlying npm package @actions/cache has released versions 6.0.0 and 6.0.1 (as of May 20, 2026) [3][4], these refer to the toolkit library used by developers to build actions, not the actions/cache GitHub Action itself [5][6]. The @actions/cache library version 6.0.0 introduced a breaking change by moving to an ESM-only package structure [5][6]. Users of the actions/cache GitHub Action should continue to use v5 (e.g., actions/cache@v5) as documented in the official repository [1][2]. Version v5 runs on the Node.js 24 runtime and requires a minimum Actions Runner version of 2.327.1 [1][7].
Citations:
- 1: https://github.com/actions/cache?tab=readme-ov-file
- 2: https://github.com/actions/cache
- 3: https://www.npmjs.com/package/@actions/cache
- 4: https://registry.npmjs.org/@actions/cache
- 5: https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md
- 6: https://github.com/actions/toolkit/blob/HEAD/packages/cache/RELEASES.md
- 7: https://github.com/actions/cache/releases/
Switch to actions/cache@v5—v6 is not yet released.
The actions/cache GitHub Action does not have a v6 release. The latest stable version is v5.0.5 (April 13, 2026). Using actions/cache@v6 will cause the composite action to fail resolution, breaking both consuming workflows.
Change line 20 to:
- uses: actions/cache@v5
(Note: The npm package @actions/cache has v6.0.0+, but that is the underlying toolkit library for building actions, not the GitHub Action itself.)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.github/actions/nix/action.yml at line 20, The action reference is using
actions/cache@v6 which does not exist yet as a released version. The latest
stable release is v5. Update the uses field from actions/cache@v6 to
actions/cache@v5 to use the correct and available version of the GitHub Actions
cache action. This will ensure the composite action resolves correctly and
consuming workflows can execute without failure.
This PR contains the following updates:
v5->v6Release Notes
actions/cache (actions/cache)
v6Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
Summary by CodeRabbit