File tree 1 file changed +5
-3
lines changed 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -21,16 +21,18 @@ jobs:
21
21
# FIXME(eddyb) `style_edition = "2024"` in `rustfmt.toml` is what keeps
22
22
# this on `nightly`, should switch to `stable` when that stabilizes.
23
23
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
25
27
26
28
# run cargo fetch w/ --locked to verify Cargo.lock is up-to-date
27
29
- run : cargo fetch --locked
28
30
29
31
# make sure all code has been formatted with rustfmt
30
32
- name : check rustfmt
31
33
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
34
36
35
37
# run clippy to verify we have no warnings
36
38
- name : cargo clippy
You can’t perform that action at this time.
0 commit comments