Skip to content

ci: bump actions/checkout and actions/setup-node off the retired Node 12/16 runtimes - #177

Open
boleklebovski wants to merge 1 commit into
AngleProtocol:mainfrom
boleklebovski:ci/bump-checkout-and-setup-node
Open

ci: bump actions/checkout and actions/setup-node off the retired Node 12/16 runtimes#177
boleklebovski wants to merge 1 commit into
AngleProtocol:mainfrom
boleklebovski:ci/bump-checkout-and-setup-node

Conversation

@boleklebovski

Copy link
Copy Markdown

What this does

As CONTRIBUTING asks, here is the explanation up front.

The workflows pin actions/checkout at v3 in six places and at v2 in one, plus actions/setup-node@v3. Both majors run on action runtimes GitHub has retired (Node 16 for v3, Node 12 for v2), so every CI run reports deprecation warnings. This bumps those pins to v4:

file line before after
.github/workflows/ci.yml 14, 32, 62 actions/checkout@v3 actions/checkout@v4
.github/workflows/ci-deep.yml 17, 35 actions/checkout@v3 actions/checkout@v4
.github/workflows/ci-deep.yml 39 actions/setup-node@v3 actions/setup-node@v4
.github/workflows/ci-deep.yml 72 actions/checkout@v2 actions/checkout@v4
.github/workflows/coverage.yml 9 actions/checkout@v3 actions/checkout@v4

The v2 pin at ci-deep.yml:72 (the foundry-tests job) is the odd one out — every other checkout in the repository was already a major ahead of it.

checkout and setup-node are stateless, so the bump carries no behavioural change here: no inputs are added, removed or renamed.

Deliberately left alone

  • actions/cache@v3 in .github/actions/setup-repo/action.yml, and the actions/cache/save@v3 / actions/cache/restore@v3 steps. Moving cache to v4 changes the cache backend and invalidates existing entries once. The cache steps currently succeed, so that is a judgement call for you rather than something to slip into a version-bump PR. Happy to add it if you would like it in the same change.
  • oven-sh/setup-bun@v1 and foundry-rs/foundry-toolchain@v1v1 is the current major for both, not a stale pin.

One thing worth flagging separately

The scheduled ci-deep.yml runs have been failing at the Run Foundry tests step every week since at least 2026-07-12. That is unrelated to action versions and this PR does not touch it — mentioning it only so the existing red run is not read as a regression from this change.

Verification

All three files parse as YAML with job names unchanged, and each target major exists upstream.

Six checkout pins were on v3 and one on v2, plus setup-node@v3. Those
majors run on the retired Node 16 and Node 12 action runtimes. Cache
actions and third-party actions are intentionally left untouched.

Signed-off-by: boleklebovski <160799963+boleklebovski@users.noreply.github.com>
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