Skip to content

Bump GitHub Actions to Node.js 24 releases - #103

Merged
Ooolab merged 1 commit into
masterfrom
fix/ci-node24-actions
Jul 24, 2026
Merged

Bump GitHub Actions to Node.js 24 releases#103
Ooolab merged 1 commit into
masterfrom
fix/ci-node24-actions

Conversation

@egull

@egull egull commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • GitHub Actions runs were showing Node.js 20 is deprecated warnings for actions/checkout@v4 and actions/upload-artifact@v4.
  • Bumped all affected actions to their current major versions, which run on Node.js 24 (runs.using: node24):
    • actions/checkout v4 -> v7
    • actions/setup-python v5 -> v7
    • actions/upload-artifact v4 -> v7
    • actions/download-artifact v4 -> v8
  • Checked each action's release notes between the old and new majors; no breaking changes apply to how this repo uses them (no single-artifact-by-ID downloads, no pip-install input, standard name/pattern-based artifact up/download).

Test plan

  • CI run on this PR completes without the Node.js 20 deprecation warning
  • Existing build/test/upload-artifact steps succeed as before

actions/checkout, actions/setup-python, actions/upload-artifact, and
actions/download-artifact were pinned to versions still running on the
deprecated Node.js 20 runtime. Bump to their current major releases
(checkout v7, setup-python v7, upload-artifact v7, download-artifact v8),
all of which run on node24.

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.

Pull request overview

Note

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Updates GitHub Actions workflow dependencies to newer major versions to eliminate Node.js 20 deprecation warnings from commonly used actions.

Changes:

  • Bump actions/checkout to v7 in multiple workflows
  • Bump actions/setup-python to v7
  • Bump artifact upload/download actions to actions/upload-artifact@v7 and actions/download-artifact@v8

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/build_wheels.yml Updates checkout/upload/download artifact action versions used by wheel/sdist build and publish jobs
.github/workflows/build.yml Updates checkout/setup-python/upload-artifact action versions used by CI build/test jobs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
# config-file: "{package}/pyproject.toml"

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'release'
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
@egull

egull commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

I call BS on the copilot comments. We won't get hacked by an upgrade of a builder, and if we do we'll have more serious problems.

@skilledwolf

Copy link
Copy Markdown
Collaborator

The packaging CI still emits the Node.js 20 deprecation warning on all three wheel builds because pypa/cibuildwheel@v2.22.0 internally invokes actions/setup-python@v5.

All jobs pass, so this is not a functional failure, but it means the PR’s “no Node.js 20 deprecation warning” test-plan item is not yet satisfied. Could we either update cibuildwheel to a compatible release using setup-python@v6 or later and rerun CI, or narrow the PR description/test plan to cover only the directly referenced actions?

The rest of the changes look good to me.

@egull

egull commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

Good point. I won't get to it before I leave, so either leave it for me for once I return or push a fix and merge, either is fine by me.

@marcusr2ML marcusr2ML left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Confirmed build works and that CI passes on my end.

Still seeing the same Node.js 20 warning on Build wheels on macos-26 though, coming from setup-python@v5 pulled in by cibuildwheel@v2.22.0 (line 30 in the job log) — matches what @skilledwolf flagged.

Approving since the direct action bumps look correct and nothing's broken.

@Ooolab
Ooolab merged commit cb28a29 into master Jul 24, 2026
84 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.

5 participants