Skip to content

build: update GitHub Actions to Node.js 24 versions#2474

Merged
maxandersen merged 2 commits into
mainfrom
update-gh-actions-node24
May 23, 2026
Merged

build: update GitHub Actions to Node.js 24 versions#2474
maxandersen merged 2 commits into
mainfrom
update-gh-actions-node24

Conversation

@maxandersen
Copy link
Copy Markdown
Collaborator

@maxandersen maxandersen commented May 23, 2026

Summary

Update GitHub Actions dependencies to versions that use Node.js 24, avoiding the deprecation warnings:

Node.js 20 actions are deprecated. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026.

Changes

Action Old New Node
actions/setup-java v4 v5 24
gradle/actions/setup-gradle v4 v6 24
actions/download-artifact v4 v8 24
actions/upload-artifact v4 v7 24
graalvm/setup-graalvm v1.4 v1.5.3 24
mikepenz/action-junit-report v5 v6 24

Only mxschmitt/action-tmate remains on Node.js 20 (no Node 24 release yet, debug-only usage).

Also fixes shell: bash on artifact.ci link steps that fail on Windows with PowerShell default shell.

Files changed

  • .github/actions/shared-build-setup/action.yml
  • .github/actions/shared-test-archiving/action.yml
  • .github/workflows/main-build.yml
  • .github/workflows/publish-packages.yml
  • .github/workflows/report.yml
  • .github/workflows/step-ci-build.yml
  • .github/workflows/tag-and-release.yml

Summary by CodeRabbit

  • Chores
    • Updated CI/CD GitHub Actions to newer versions across build, test, and release pipelines for improved stability and compatibility.

Review Change Stack

Update actions to avoid Node.js 20 deprecation warnings (forced
Node.js 24 default starting June 2, 2026):

- actions/setup-java v4 → v5
- gradle/actions/setup-gradle v4 → v6
- actions/download-artifact v4 → v8
- actions/upload-artifact v4 → v7
- graalvm/setup-graalvm v1.4 → v1.5.3
- mikepenz/action-junit-report v5 → v6

Only mxschmitt/action-tmate remains on Node.js 20 (no Node 24
release yet, debug-only usage).
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 23, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: eef6feb4-7e3e-4687-a84f-9b3af02217ca

📥 Commits

Reviewing files that changed from the base of the PR and between 1a6383b and 71d5489.

📒 Files selected for processing (7)
  • .github/actions/shared-build-setup/action.yml
  • .github/actions/shared-test-archiving/action.yml
  • .github/workflows/main-build.yml
  • .github/workflows/publish-packages.yml
  • .github/workflows/report.yml
  • .github/workflows/step-ci-build.yml
  • .github/workflows/tag-and-release.yml

📝 Walkthrough

Walkthrough

This PR updates pinned versions of GitHub Actions across seven workflow and action files. The changes upgrade setup-java, gradle/setup-gradle, actions/upload-artifact, actions/download-artifact, graalvm/setup-graalvm, and mikepenz/action-junit-report to newer major versions while preserving all step configuration and artifact names.

Changes

GitHub Actions version pinning updates

Layer / File(s) Summary
Shared action setup versions
.github/actions/shared-build-setup/action.yml
Java setup (v4→v5) and Gradle setup (v4→v6) action pins are updated in the reusable shared build setup action.
Shared action artifact archiving
.github/actions/shared-test-archiving/action.yml
Upload artifact action is updated from v4 to v7 for Allure HTML reports, raw results, and combined test report uploads.
CI test and reporting workflows
.github/workflows/step-ci-build.yml, .github/workflows/report.yml
build-shared, build-test-native-image, unit-test-jvm, integration-test-jvm, smoke-test, and merge-test-reports jobs update upload/download artifacts to v7/v8. GraalVM setup is pinned to a newer revision. Test reporting via mikepenz/action-junit-report is updated from v5 to v6 with explicit bash shell retained for artifact.ci links step.
Build and release workflow updates
.github/workflows/main-build.yml, .github/workflows/publish-packages.yml, .github/workflows/tag-and-release.yml
jreleaser, publish, announce, chocolatey, and tag-release jobs update setup-java (v4→v5), gradle/setup-gradle (v4→v6), and artifact upload/download actions from v4 to v7/v8 while preserving artifact names and paths.

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly Related PRs

  • jbangdev/jbang#2469: Both PRs update .github/workflows/main-build.yml's jreleaser job to pin actions/download-artifact to specific commit SHAs.

Poem

🐰 Hop, hop, hooray! The versions align,
Actions renewed with pins that shine.
From v4 to v5, then v6, v7, v8 so bright,
Your CI/CD pipeline runs through the night!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating GitHub Actions to Node.js 24-compatible versions across multiple workflow files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-gh-actions-node24

Comment @coderabbitai help to get the list of available commands and usage tips.

@maxandersen
Copy link
Copy Markdown
Collaborator Author

verified in #2473 that it works - just keeping in separate PR to make 2473 simpler

@maxandersen maxandersen merged commit 00f9490 into main May 23, 2026
25 of 26 checks passed
@maxandersen maxandersen deleted the update-gh-actions-node24 branch May 23, 2026 22:50
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