Skip to content

Bump GitHub Actions to Node 24-compatible major versions - #661

Merged
pancetta merged 1 commit into
masterfrom
fix/node20-deprecation
Aug 18, 2026
Merged

Bump GitHub Actions to Node 24-compatible major versions#661
pancetta merged 1 commit into
masterfrom
fix/node20-deprecation

Conversation

@pancetta

Copy link
Copy Markdown
Member

Summary

Every CI run prints "Node.js 20 is deprecated" warnings for actions still declaring runs.using: node20 in their action.yml, which GitHub now force-runs on Node 24 anyway. Same issue previously seen and fixed in the RSE_course_JuRSE project.

(Supersedes #660, which was accidentally built on the already-merged #659 branch and dragged its full commit history along even though the file diff was identical. This PR is the same change on a clean branch off current master.)

Verified each action's actual runs.using value at both the currently-pinned and candidate new major version before bumping, not just assumed from version numbers:

  • actions/checkout: v1 (lint job only — a legacy pre-Node "plugin" action, not itself the source of the node20 warning, but badly outdated) and v4 (node20) → v7 (node24)
  • actions/upload-artifact: v4 (node20) → v7 (node24)
  • actions/download-artifact: v4 (node20) → v8 (node24)
  • mamba-org/setup-micromamba: v1 (node20) → v3 (node24) — confirmed the two inputs actually used here (environment-file, create-args) are unchanged in v3

Left alone (confirmed not implicated in the warning at all):

  • codecov/codecov-action@v5 — composite action, no Node runtime
  • py-cov-action/python-coverage-comment-action@v3 — Docker action, no Node runtime
  • JamesIves/github-pages-deploy-action@v4 — already node24

Test plan

🤖 Generated with Claude Code

Every CI run prints "Node.js 20 is deprecated" warnings for actions still
declaring runs.using: node20 in their action.yml, which GitHub now
force-runs on Node 24 anyway. Same issue previously seen and fixed in the
RSE_course_JuRSE project.

Verified each action's actual runs.using value at both the
currently-pinned and candidate new major version before bumping, rather
than assuming from version numbers alone:

- actions/checkout: v1 (lint job only - a legacy pre-Node "plugin"
  action, not itself the source of the node20 warning, but badly
  outdated) and v4 (node20) -> v7 (node24)
- actions/upload-artifact: v4 (node20) -> v7 (node24)
- actions/download-artifact: v4 (node20) -> v8 (node24)
- mamba-org/setup-micromamba: v1 (node20) -> v3 (node24); confirmed the
  two inputs actually used here (environment-file, create-args) are
  unchanged in v3

Left alone (confirmed not implicated in the warning at all):
- codecov/codecov-action@v5 - composite action, no Node runtime
- py-cov-action/python-coverage-comment-action@v3 - Docker action, no
  Node runtime
- JamesIves/github-pages-deploy-action@v4 - already node24

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown

Coverage report

This PR does not seem to contain any modification to coverable code.

@pancetta
pancetta merged commit b7f1604 into master Aug 18, 2026
82 of 129 checks passed
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