File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 2121 steps :
2222 - uses : actions/checkout@v4
2323 - name : Setup Rust toolchain
24- run : ./ci/install-rust.sh
24+ run : ./ci/install-rust.sh && rustup component add rustfmt
2525 - name : Check style
2626 run : ./ci/style.sh
2727
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ if [ "$os" = "windows" ] && [ -n "${TARGET:-}" ]; then
2424fi
2525
2626rustup set profile minimal
27- rustup update --force " $toolchain "
27+ rustup update --force " $toolchain " --no-self-update
2828rustup default " $toolchain "
2929
3030if [ -n " ${TARGET:- } " ]; then
Original file line number Diff line number Diff line change 22
33set -eux
44
5- if [ -n " ${CI:- } " ]; then
6- rustup toolchain install nightly -c rustfmt --allow-downgrade
7- rustup override set nightly
8-
9- check=" --check"
10- fi
5+ [ -n " ${CI:- } " ] && check=" --check"
116
127cargo test --manifest-path libc-test/Cargo.toml --test style -- --nocapture
138
You can’t perform that action at this time.
0 commit comments