File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,16 +21,18 @@ jobs:
2121 # FIXME(eddyb) `style_edition = "2024"` in `rustfmt.toml` is what keeps
2222 # this on `nightly`, should switch to `stable` when that stabilizes.
2323 toolchain : nightly
24- override : true
24+ # HACK(eddyb) allow `+nightly` to work without breaking the ability
25+ # to use `rust-toolchain.toml` later.
26+ override : false
2527
2628 # run cargo fetch w/ --locked to verify Cargo.lock is up-to-date
2729 - run : cargo fetch --locked
2830
2931 # make sure all code has been formatted with rustfmt
3032 - name : check rustfmt
3133 run : |
32- rustup component add rustfmt
33- cargo fmt -- --check --color always
34+ rustup component add rustfmt --toolchain=nightly
35+ cargo +nightly fmt -- --check --color always
3436
3537 # run clippy to verify we have no warnings
3638 - name : cargo clippy
You can’t perform that action at this time.
0 commit comments