Skip to content

github: update the github-action versions to fix some warnings about nodejs-20 instead of nodejs-24 - #400

Open
svalat wants to merge 1 commit into
idefix-code:developfrom
svalat:feature/update-gitaction-versions
Open

github: update the github-action versions to fix some warnings about nodejs-20 instead of nodejs-24#400
svalat wants to merge 1 commit into
idefix-code:developfrom
svalat:feature/update-gitaction-versions

Conversation

@svalat

@svalatsvalat commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Target

Try to avoid the warning about NodeJS-20 instead of NodeJS-24 in github actions.

In theory updating the versions of the action libraries used in the project should avoid the warning.

I updated to last release available :

  • actions/checkout : 3.6.0 -> 7.0.1
  • actions/setup-python : 4.9.1 -> 6.3.0 (there is a 7.0.0 just released one month ago, but I preferred to used the last stable one).
  • pre-commit/action : 3.0.0 -> 3.0.1
  • pre-commit-ci/lite-action : 1.0.0 -> 1.0.1

Pointers

Migration to NodeJS-24 is effective since 16 june 2026 : https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Warning solved

Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v3, actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c, pre-commit-ci/lite-action@50143aaf27e2c42e75a5e06185a471d9582e89df. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Still

The port to NodeJS-24 is not yet done "a priori" for pre-commit-ci/lite-action so the upgrade do not solve it. To be seen later.

@neutrinoceros

Copy link
Copy Markdown
Collaborator

I'd recommend setting up dependabot to automate these upgrades. It now supports arbitrary cooldown periods so you can easily exclude too-new versions.

Sign up for freeto 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.

3 participants

@svalat@neutrinoceros@glesur