We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf18ae7 commit 86411e4Copy full SHA for 86411e4
ci/style.sh
@@ -4,11 +4,11 @@ set -ex
4
5
rustc ci/style.rs && ./style src
6
7
-if rustup component add rustfmt-preview ; then
8
- command -v rustfmt
9
- rustfmt -V
10
- cargo fmt --all -- --check
11
-fi
+rustup toolchain install nightly -c rustfmt --allow-downgrade
+rustup override set nightly
+command -v rustfmt
+rustfmt -V
+cargo fmt --all -- --check
12
13
if shellcheck --version ; then
14
# GHA's shellcheck is too old (0.4.6) and cannot handle SC2153 correctly.
0 commit comments