ci: bump GitHub Actions to current major versions - #41
Merged
Conversation
Silences the Node.js 20 deprecation warnings emitted during the 0.7.0 publish run and modernizes the workflow actions: - actions/checkout v3 -> v7 (build.yml, publish.yml) - actions/cache v3 -> v6 (build.yml) - release-drafter/release-drafter v5 -> v7 (build.yml) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s GitHub Actions workflows to newer major versions to address Node.js 20 deprecation warnings by moving to action versions that run on newer Node runtimes.
Changes:
- Bump
actions/checkoutfromv3tov7in bothbuild.ymlandpublish.yml. - Bump
actions/cachefromv3tov6inbuild.yml. - Bump
release-drafter/release-drafterfromv5tov7inbuild.yml.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/build.yml | Updates release-drafter, checkout, and cache action majors used in CI builds. |
| .github/workflows/publish.yml | Updates checkout action major used in the publish workflow jobs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
release-drafter v7 validates its config strictly: `label` must be a single string and a list must use `labels`. The Maintenance category used a `label:` list, which v7 rejected (categories[2].label invalid_type), failing the draft-release job. Switch it to `labels:` to match the other categories. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
0.7.0publish run logged Node.js 20 deprecation warnings foractions/checkout@v3(GitHub is forcing those onto Node 24 and will eventually drop Node 20). This bumps the workflow actions to their current major versions, which run on Node 24:actions/checkoutbuild.yml,publish.yml)actions/cachebuild.yml)release-drafter/release-drafterbuild.yml)(Note:
@v4/@v5of checkout still target Node 20, so v7 is needed to actually clear the warning.)Validation
This PR''s own
build.ymlrun exercises all three: it checks out withcheckout@v7, restores the cargo cache viacache@v6, and runs thedraft-releasejob onrelease-drafter@v7. No source/library changes — workflow YAML only.