Skip to content

chore(ci): Update actions/cache action to v5 - autoclosed#28

Closed
kthy wants to merge 1 commit into
masterfrom
renovate/actions-cache-5.x
Closed

chore(ci): Update actions/cache action to v5 - autoclosed#28
kthy wants to merge 1 commit into
masterfrom
renovate/actions-cache-5.x

Conversation

@kthy

@kthy kthy commented Jan 8, 2026

Copy link
Copy Markdown
Member

@coderabbitai ignore

This PR contains the following updates:

Package Type Update Change
actions/cache action major v1v5

Release Notes

actions/cache (actions/cache)

v5

Compare Source

v4

Compare Source

v3

Compare Source

v2

Compare Source


Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • Branch creation
    • "before 9am"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@coderabbitai

coderabbitai Bot commented Jan 8, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Updated the GitHub Actions cache step in the R-CMD-check workflow from version 1 to version 5. The cache configuration (path, key, restore-keys inputs) remains unchanged. This is a routine dependency update to leverage improvements in the newer action version.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow
.github/workflows/R-CMD-check.yaml
Updated actions/cache from @v1 to @v5; cache configuration inputs unchanged

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A cache so swift, now version five,
Dependencies kept fresh and alive,
No logic changed, just cleaner ways,
To speed the checks through build-time days,
Small hops improve the GitHub dance!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The pull request title accurately describes the main change: updating the actions/cache GitHub Action from v1 to v5, which is clear, specific, and concise.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
.github/workflows/R-CMD-check.yaml (1)

21-25: Update ubuntu-20.04 to avoid workflow failures after April 15, 2025.

Ubuntu 20 hosted runner image is being retired by April 15, 2025, and GitHub recommends updating workflows to use ubuntu-22.04 or ubuntu-24.04.

While this is not part of the current PR, it's critical to address soon to prevent workflow failures.

🔧 Proposed fix
        config:
          - {
-              os: ubuntu-20.04,
+              os: ubuntu-22.04,
              r: release,
              rspm: 'https://packagemanager.rstudio.com/cran/__linux__/focal/latest'
            }

Note: You may also need to update the RSPM URL from focal (Ubuntu 20.04) to jammy (Ubuntu 22.04).

🧹 Nitpick comments (1)
.github/workflows/R-CMD-check.yaml (1)

32-32: Consider updating other actions in this workflow.

While reviewing the cache action update, I noticed other actions that could benefit from updates:

  • Line 32: actions/checkout@v2 → Consider updating to @v4
  • Line 90: actions/upload-artifact@master → Artifact actions v3 are being deprecated by January 30th, 2025, consider updating to @v4

These updates can be addressed in a separate PR but are worth considering for consistency and to avoid future deprecation issues.

Also applies to: 90-90

📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 13a062d and f933624.

📒 Files selected for processing (1)
  • .github/workflows/R-CMD-check.yaml
🔇 Additional comments (1)
.github/workflows/R-CMD-check.yaml (1)

47-53: LGTM! Essential update to prevent workflow failures.

The cache action v1 was fully retired on March 1st, 2025, and workflows using deprecated versions will fail. This update is fully backward compatible and will not break your workflow.

Additional benefits of v5:

  • Up to ~80% faster cache upload duration on GitHub-hosted runners
  • Integrates with the new cache backend service for improved performance and reliability

The existing cache configuration (path, key, restore-keys) works without modification.

@kthy kthy changed the title chore(ci): Update actions/cache action to v5 chore(ci): Update actions/cache action to v5 - autoclosed Jan 16, 2026
@kthy kthy closed this Jan 16, 2026
@kthy
kthy deleted the renovate/actions-cache-5.x branch January 16, 2026 18:07
@kthy kthy changed the title chore(ci): Update actions/cache action to v5 - autoclosed chore(ci): Update actions/cache action to v5 Jan 20, 2026
@kthy kthy reopened this Jan 20, 2026
@kthy
kthy force-pushed the renovate/actions-cache-5.x branch 2 times, most recently from f933624 to 6dff466 Compare January 20, 2026 00:11
@kthy kthy changed the title chore(ci): Update actions/cache action to v5 chore(ci): Update actions/cache action to v5 - autoclosed Jan 29, 2026
@kthy kthy closed this Jan 29, 2026
@kthy kthy changed the title chore(ci): Update actions/cache action to v5 - autoclosed chore(ci): Update actions/cache action to v5 Feb 2, 2026
@kthy kthy reopened this Feb 2, 2026
@kthy
kthy force-pushed the renovate/actions-cache-5.x branch from 6dff466 to 01628cf Compare February 2, 2026 00:14
@kthy kthy changed the title chore(ci): Update actions/cache action to v5 chore(ci): Update actions/cache action to v5 - autoclosed Mar 24, 2026
@kthy kthy closed this Mar 24, 2026
@kthy kthy changed the title chore(ci): Update actions/cache action to v5 - autoclosed chore(ci): Update actions/cache action to v5 Mar 26, 2026
@kthy kthy reopened this Mar 26, 2026
@kthy
kthy force-pushed the renovate/actions-cache-5.x branch 2 times, most recently from 01628cf to 7264519 Compare March 26, 2026 00:21
@kthy
kthy force-pushed the renovate/actions-cache-5.x branch from 7264519 to 19164b9 Compare April 7, 2026 12:17
@kthy kthy changed the title chore(ci): Update actions/cache action to v5 chore(ci): Update actions/cache action to v5 - autoclosed Apr 13, 2026
@kthy kthy closed this Apr 13, 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.

1 participant