ci(release): remove noise and tighten release workflows - #58
Merged
Conversation
release-plz.yml: - Remove redundant Rust toolchain installation steps; release-plz action v0.5 ships its own Rust and does not require a host install. - Add concurrency guard on the release job (cancel-in-progress: false) to prevent parallel publish races on rapid pushes to main. - Upgrade checkout from v6 to v7. release.yml: - Drop the empty announce job (checkout-only, no operations). - Narrow the pull_request trigger to release-configuration paths (dist-workspace.toml, Cargo.toml, Cargo.lock, release.yml) so dist plan only runs when release configuration actually changes. - Add top-level concurrency (cancel-in-progress: false) so the same tag never triggers duplicate release runs. - Upgrade all checkout steps from v6 to v7. - Remove autogenerated cargo-dist boilerplate comments that add no maintenance value.
Teakowa
force-pushed
the
chore/optimize-release-workflows
branch
from
August 20, 2026 17:12
bd51524 to
01ab26b
Compare
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
release-plz.yml
release-plz/action@v0.5ships its own Rust environment; installing it on the host beforehand is wasted time.concurrencyguard on thereleasejob (cancel-in-progress: false) to prevent parallel crates.io publish races when multiple commits land onmainin quick succession.checkoutfrom v6 → v7.release.yml
announcejob — it contained only a checkout step with no downstream operations; removing it eliminates a pointless runner allocation after every release.pull_requesttrigger to release-configuration paths (dist-workspace.toml,Cargo.toml,Cargo.lock,release.yml) sodist planonly runs when the release configuration actually changes, not on every PR.concurrency(cancel-in-progress: false) so the same version tag cannot trigger duplicate release pipelines.checkoutsteps from v6 → v7.Validation
actionlint(no errors; remaining shellcheckinfo/stylenotices are pre-existing cargo-dist patterns).