Skip to content

ci+docs: fix v0.1.1 main CI + installguard.dev homepage#10

Merged
jt-systems merged 2 commits into
mainfrom
develop
May 14, 2026
Merged

ci+docs: fix v0.1.1 main CI + installguard.dev homepage#10
jt-systems merged 2 commits into
mainfrom
develop

Conversation

@jt-systems

Copy link
Copy Markdown
Owner

Two slices that landed on develop after v0.1.1 was tagged:

  1. docs: point homepage at installguard.dev (945a292) — the domain is now live; switch workspace.package.homepage, the Homebrew formula template, and the README badges.

  2. ci: fix fmt drift and pin macOS toolchain to rust-toolchain.toml (60a4255) — the v0.1.1 release-engineering commit landed on main with two latent CI issues that only surface on a real CI run:

    • cargo fmt --check failed because rustfmt re-flowed the new ALLOWLIST onto a single line.
    • Test (macos-latest) failed with error: unexpected argument 'build' found from rustup-init because rust-toolchain.toml pins 1.86.0 but CI installed @stable, and rustup is shadowed by rustup-init on the arm64 macos-latest runner image.

    Both are fixed; release.yml is unchanged because its explicit rustup target add step already side-steps the macOS path.

No source changes.

The installguard.dev domain is now registered. Switch the canonical
'homepage' URL in:

  * workspace.package.homepage in Cargo.toml (propagates to every
    crate's published metadata on crates.io and to 'cargo metadata'
    consumers),
  * packaging/homebrew/installguard.rb 'homepage' attribute (the
    template the release workflow copies into the tap; the next
    release-bump PR will carry this through),
  * README.md badges, with a new 'web' badge linking to the site.

The repository URL stays on github.com/jt-systems/installguard \u2014
that's the canonical source-tree location and shouldn't move.
Two fixes for the v0.1.1 main-branch CI failures:

1. cargo fmt drift: the multi-line ALLOWLIST in name_similarity.rs
   was below rustfmt's array-width threshold and got re-flowed onto
   one line. Apply 'cargo fmt --all' so the committed file matches
   what 'cargo fmt --check' expects.

2. macos-latest 'cargo build' failed with:

       error: unexpected argument 'build' found
       Usage: rustup-init[EXE] [OPTIONS]

   The CI workflow installed dtolnay/rust-toolchain@stable while
   rust-toolchain.toml pins the project to 1.86.0. cargo therefore
   asked rustup to switch toolchains \u2014 and on the arm64
   macos-latest runner image 'rustup' is shadowed by 'rustup-init',
   which doesn't understand the 'build' subcommand. Pin the action
   to install '1.86.0' explicitly so no switch is needed.

The release workflow already side-steps this by adding an explicit
'rustup target add' step that triggers a real toolchain install
before cargo runs; leaving release.yml unchanged.
@jt-systems jt-systems merged commit 60a4255 into main May 14, 2026
4 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