Skip to content

ci(release): remove noise and tighten release workflows - #58

Merged
Teakowa merged 1 commit into
mainfrom
chore/optimize-release-workflows
Aug 20, 2026
Merged

ci(release): remove noise and tighten release workflows#58
Teakowa merged 1 commit into
mainfrom
chore/optimize-release-workflows

Conversation

@Teakowa

@Teakowa Teakowa commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

release-plz.yml

  • Remove redundant Rust toolchain installationrelease-plz/action@v0.5 ships its own Rust environment; installing it on the host beforehand is wasted time.
  • Add concurrency guard on the release job (cancel-in-progress: false) to prevent parallel crates.io publish races when multiple commits land on main in quick succession.
  • Upgrade checkout from v6 → v7.

release.yml

  • Drop the empty announce job — it contained only a checkout step with no downstream operations; removing it eliminates a pointless runner allocation after every release.
  • Narrow pull_request trigger to release-configuration paths (dist-workspace.toml, Cargo.toml, Cargo.lock, release.yml) so dist plan only runs when the release configuration actually changes, not on every PR.
  • Add top-level concurrency (cancel-in-progress: false) so the same version tag cannot trigger duplicate release pipelines.
  • Upgrade all checkout steps from v6 → v7.
  • Remove autogenerated cargo-dist boilerplate comments that describe obvious YAML structure and add no maintenance value.

Validation

  • YAML syntax verified with actionlint (no errors; remaining shellcheck info/style notices are pre-existing cargo-dist patterns).

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
Teakowa force-pushed the chore/optimize-release-workflows branch from bd51524 to 01ab26b Compare August 20, 2026 17:12
@Teakowa
Teakowa merged commit db73c29 into main Aug 20, 2026
5 of 6 checks passed
@Teakowa
Teakowa deleted the chore/optimize-release-workflows branch August 20, 2026 17:14
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