Skip to content

ci: bump GitHub Actions to latest majors - #16

Merged
unvalley merged 1 commit into
mainfrom
chore/update-ci-actions
Sep 2, 2026
Merged

unvalley merged 1 commit into
mainfrom
chore/update-ci-actions

Conversation

@unvalley

@unvalley unvalley commented Sep 2, 2026 •

Copy link
Copy Markdown
Owner

What changed

GitHub Actions — updated every pinned action in ci.yml, release.yml, and prepare-release.yml to its latest major version:

Action Before After
actions/checkout v4 v7
actions/upload-artifact v4 v7
actions/download-artifact v4 v8
actions/github-script v7 v9
softprops/action-gh-release v2 v3
peter-evans/create-pull-request v6 v8

Rust version — declared rust-version = "1.85" (MSRV) in Cargo.toml. Edition 2024 requires 1.85, and the full locked dependency tree compiles and passes all 60 tests on 1.85. CI continues to track latest stable via dtolnay/rust-toolchain@stable.

Why

The pinned action versions were several majors behind. The new majors are primarily Node 24 runtime migrations, which GitHub-hosted runners (all this repo uses) already support. The MSRV declaration lets cargo warn crates.io consumers on older toolchains instead of failing with confusing compile errors.

Notes for review

Release notes for each major jump were reviewed. The only real behavior changes do not affect these workflows:

  • download-artifact v8 now fails on digest mismatch instead of warning — a security improvement, no workflow change needed.
  • checkout v7 blocks fork-PR checkouts for pull_request_target/workflow_run triggers, which these workflows don't use.
  • create-pull-request v7 renamed git-token to branch-token; the tap-update job only uses token, so it's unaffected.

Verified locally on Rust 1.98.0 (current stable): cargo fmt --check, cargo clippy -- -D warnings, and all 60 tests pass. Also verified cargo test --locked passes on 1.85.

Update all pinned actions across ci.yml, release.yml, and
prepare-release.yml:

- actions/checkout v4 -> v7
- actions/upload-artifact v4 -> v7
- actions/download-artifact v4 -> v8
- actions/github-script v7 -> v9
- softprops/action-gh-release v2 -> v3
- peter-evans/create-pull-request v6 -> v8

These majors are primarily Node 24 runtime migrations, already
supported on GitHub-hosted runners. Behavior changes reviewed:
download-artifact v8 errors on digest mismatch (previously warned),
and checkout v7 blocks fork-PR checkouts for pull_request_target /
workflow_run triggers, which these workflows do not use.
@unvalley
unvalley merged commit 223ae7f into main Sep 2, 2026
3 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.

1 participant