Skip to content

build: harden CI and manifest for Rust 1.100 - #408

Merged
pando85 merged 2 commits into
masterfrom
ci/rust-1.100-hardening
Nov 12, 2026
Merged

pando85 merged 2 commits into
masterfrom
ci/rust-1.100-hardening

Conversation

@pando85

@pando85 pando85 commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Why

Rust/Cargo 1.100.0 became GitHub's stable toolchain on 2026-11-09. In passless it caused a release to be published without one of its assets (softprops/action-gh-release silently skips unmatched files globs unless fail_on_unmatched_files: true is set) and new Cargo manifest warnings. This applies the same hardening here.

Changes

  • build: fail the release when an asset is missing: add fail_on_unmatched_files: true to the softprops/action-gh-release@v3 step. The input is available in v2 and v3, so the action version is unchanged.
  • build: drop package.homepage redundant with repository: Cargo 1.100 warns package.homepage is redundant with package.repository because both are the same URL. Nothing else in the repo (Makefile, .ci, workflows) reads homepage.

Release files on every matrix leg

All three listed files are produced on both matrix legs (aarch64-apple-darwin on macos-15, x86_64-unknown-linux-gnu on ubuntu-22.04) by the make release step (cargo vendor + tar for vendor.tar.gz, the ${PKG_BASE_NAME}.tar.gz archive) and the Generate SHA256 hash step (tags only, shasum on macOS and sha256sum on Linux, before the publish step), so the stricter setting should not break a correct release.

Verification

In a clean worktree, cargo +1.100.0 and cargo +1.99.1: fmt --all -- --check, clippy --locked --all-targets --all-features -- -D warnings, test --locked all pass. The homepage warning is gone on 1.100.0.

cargo +1.100.0 check reports no warnings after the change. The integration tests in tests/integration.rs (assert_cmd, cargo_bin) also pass on 1.100.0; the repo has no current_exe() use.

softprops/action-gh-release skips unmatched files globs by default, so a release can be published without one of its assets. Set fail_on_unmatched_files so the release job fails instead.
Cargo 1.100 warns that package.homepage is redundant when it equals package.repository.
@pando85
pando85 merged commit 122be74 into master Nov 12, 2026
5 checks passed
@pando85
pando85 deleted the ci/rust-1.100-hardening branch November 12, 2026 21:12
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