Skip to content

fix(ci): Bump GitHub actions to Node 24 releases#70

Merged
ebouchut merged 1 commit into
devfrom
fix-ci-node20-deprecation
Jul 7, 2026
Merged

fix(ci): Bump GitHub actions to Node 24 releases#70
ebouchut merged 1 commit into
devfrom
fix-ci-node20-deprecation

Conversation

@ebouchut

@ebouchut ebouchut commented Jul 7, 2026

Copy link
Copy Markdown
Owner

This PR fixes the CI.
It bumps every action in all workflows to its current major, which targets Node 24 natively:

  • actions/checkout v4 => v7
  • actions/setup-java v4 => v5
  • actions/upload-artifact v4 => v7
  • actions/setup-python v5 => v6

Issue

Every GitHub Action workflow run logged a warning saying:

Node.js 20 is deprecated; the following actions target Node.js 20 but are being forced to run on Node.js 24 (actions/checkout@v4, actions/setup-java@v4). Bump all actions to their current majors, which target Node 24 natively.

Cause

GitHub deprecated Node.js 20 on Actions runners (September 2025). actions/checkout@v4 and actions/setup-java@v4 are built against Node 20, so every job now emits that annotation while being force-run on Node 24. Harmless today, but those majors will eventually stop working.

Every workflow run emitted the annotation: Node.js 20 is deprecated, the
following actions target Node.js 20 but are being forced to run on Node.js
24 (actions/checkout@v4, actions/setup-java@v4). Bump all actions to their
current majors, which target Node 24 natively:

- actions/checkout v4 => v7
- actions/setup-java v4 => v5
- actions/upload-artifact v4 => v7
- actions/setup-python v5 => v6 (schema-drift, same deprecation pending)
Copilot AI review requested due to automatic review settings July 7, 2026 13:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@ebouchut ebouchut self-assigned this Jul 7, 2026
@ebouchut ebouchut added bug Something isn't working dependencies ci Continuous Integration labels Jul 7, 2026
@ebouchut ebouchut merged commit 2740217 into dev Jul 7, 2026
4 checks passed
@ebouchut ebouchut deleted the fix-ci-node20-deprecation branch July 7, 2026 13:42
@ebouchut ebouchut added this to the v0.9 - Code Freeze milestone Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci Continuous Integration dependencies

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants