File tree 3 files changed +3
-8
lines changed
3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 22
22
steps :
23
23
- uses : actions/checkout@v4
24
24
- name : Setup Rust toolchain
25
- run : ./ci/install-rust.sh
25
+ run : ./ci/install-rust.sh && rustup component add rustfmt
26
26
- name : Check style
27
27
run : ./ci/style.sh
28
28
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ if [ "$os" = "windows" ] && [ -n "${TARGET:-}" ]; then
24
24
fi
25
25
26
26
rustup set profile minimal
27
- rustup update --force " $toolchain "
27
+ rustup update --force " $toolchain " --no-self-update
28
28
rustup default " $toolchain "
29
29
30
30
if [ -n " ${TARGET:- } " ]; then
Original file line number Diff line number Diff line change 2
2
3
3
set -eux
4
4
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"
11
6
12
7
cargo test --manifest-path libc-test/Cargo.toml --test style -- --nocapture
13
8
You can’t perform that action at this time.
0 commit comments