Skip to content

ci: bump GitHub Actions to current major versions - #41

Merged
wiresock merged 2 commits into
mainfrom
ci/update-actions
Jun 24, 2026
Merged

ci: bump GitHub Actions to current major versions#41
wiresock merged 2 commits into
mainfrom
ci/update-actions

Conversation

@wiresock

@wiresock wiresock commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Summary

The 0.7.0 publish run logged Node.js 20 deprecation warnings for actions/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:

Action Before After
actions/checkout v3 v7 (build.yml, publish.yml)
actions/cache v3 v6 (build.yml)
release-drafter/release-drafter v5 v7 (build.yml)

(Note: @v4/@v5 of checkout still target Node 20, so v7 is needed to actually clear the warning.)

Validation

This PR''s own build.yml run exercises all three: it checks out with checkout@v7, restores the cargo cache via cache@v6, and runs the draft-release job on release-drafter@v7. No source/library changes — workflow YAML only.

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>
Copilot AI review requested due to automatic review settings June 24, 2026 20:13
@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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/checkout from v3 to v7 in both build.yml and publish.yml.
  • Bump actions/cache from v3 to v6 in build.yml.
  • Bump release-drafter/release-drafter from v5 to v7 in build.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>
@wiresock
wiresock merged commit b8f9a73 into main Jun 24, 2026
5 checks passed
@wiresock
wiresock deleted the ci/update-actions branch June 24, 2026 21:03
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.

2 participants