Skip to content

[codex] update actions/cache to Node 24 runtime#100

Merged
jan-kubica merged 1 commit intomainfrom
codex/update-actions-cache-node24
Apr 17, 2026
Merged

[codex] update actions/cache to Node 24 runtime#100
jan-kubica merged 1 commit intomainfrom
codex/update-actions-cache-node24

Conversation

@jan-kubica
Copy link
Copy Markdown
Contributor

Summary

Updates actions/cache from v4 to v5 in CI and release so the workflows stop emitting the GitHub Actions Node 20 deprecation warning.

Why

actions/cache@v4 still runs on the deprecated Node 20 runtime. checkout and setup-node were already on Node 24-capable versions, so the warning was coming from cache only.

Validation

  • git diff --check
  • actionlint .github/workflows/*.yml
  • PR validate check

@greptile-apps
Copy link
Copy Markdown

greptile-apps bot commented Apr 17, 2026

Greptile Summary

Bumps actions/cache from v4 to v5 (pinned commit 27d5ce7f) in both the CI and Release workflows to eliminate the GitHub Actions Node 20 deprecation warning. The change is mechanical and consistent — cache path, key hash expression, and all surrounding steps are untouched.

Confidence Score: 5/5

Safe to merge — minimal, targeted version bump with no behavioral changes.

The only change is upgrading actions/cache from v4 to v5 in two workflow files using a pinned SHA, consistent with the existing security practice across all other actions in these files. No logic, secrets handling, or cache configuration was modified. No P0/P1 findings.

No files require special attention.

Important Files Changed

Filename Overview
.github/workflows/ci.yml Updates actions/cache from v4 to v5 (pinned SHA 27d5ce7f...); cache path, key, and all other workflow steps unchanged.
.github/workflows/release.yml Updates actions/cache from v4 to v5 (pinned SHA 27d5ce7f...) in both the verify and publish jobs; no other changes.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Push / PR / workflow_dispatch] --> B[CI: validate job]
    B --> C[actions/checkout v6]
    C --> D[actions/setup-node v6]
    D --> E[oven-sh/setup-bun v2]
    E --> F[actions/cache v5 ✅]
    F --> G[npm install]
    G --> H[build / lint / typecheck / test]
    H --> I[verify package tarballs]

    J[workflow_dispatch] --> K[Release: verify job]
    K --> L[actions/checkout v6]
    L --> M[actions/setup-node v6]
    M --> N[oven-sh/setup-bun v2]
    N --> O[actions/cache v5 ✅]
    O --> P[npm install / build / test]
    P --> Q{publish_to_npm?}
    Q -- yes --> R[Release: publish job matrix]
    R --> S[actions/checkout v6]
    S --> T[actions/setup-node v6]
    T --> U[oven-sh/setup-bun v2]
    U --> V[actions/cache v5 ✅]
    V --> W[npm install / build / publish]
    Q -- no --> X[done]
Loading

Reviews (1): Last reviewed commit: "chore: update actions cache to node24 ru..." | Re-trigger Greptile

@jan-kubica jan-kubica marked this pull request as ready for review April 17, 2026 19:58
@jan-kubica jan-kubica merged commit 817d06c into main Apr 17, 2026
2 checks passed
@jan-kubica jan-kubica deleted the codex/update-actions-cache-node24 branch April 17, 2026 19:58
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

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