mirror of
https://github.com/jmcorgan/fips.git
synced 2026-07-22 07:48:26 +00:00
CI format check was failing because the pinned toolchain rust-toolchain.toml overrides the `dtolnay/rust-toolchain@stable + rustfmt` action installation — rustup installs rustfmt onto the stable channel, but when cargo fmt runs inside the repo, rustup honors the 1.94.1 pin and does an on-demand install that pulls only rustc/cargo/rust-std. Declaring components in rust-toolchain.toml ensures the on-demand install of the pinned toolchain includes rustfmt.
4 lines
56 B
TOML
4 lines
56 B
TOML
[toolchain]
|
|
channel = "1.94.1"
|
|
components = ["rustfmt"]
|