File tree 2 files changed +8
-12
lines changed
2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,10 @@ jobs:
19
19
- uses : actions/checkout@v3
20
20
21
21
- name : Install Rust Nightly
22
- uses : actions-rs/toolchain@v1
23
- with :
24
- toolchain : nightly
25
- override : true
26
- components : rustfmt, clippy
22
+ run : |
23
+ rustup override set nightly
24
+ rustup update nightly
25
+ rustup component add rustfmt clippy
27
26
28
27
- name : rustfmt
29
28
run : cargo fmt --all -- --check
Original file line number Diff line number Diff line change @@ -16,11 +16,10 @@ jobs:
16
16
- uses : actions/checkout@v3
17
17
18
18
- name : Install Rust Stable
19
- uses : actions-rs/toolchain@v1
20
- with :
21
- toolchain : stable
22
- override : true
23
- components : cargo, llvm-tools-preview
19
+ run : |
20
+ rustup override set stable
21
+ rustup update stable
22
+ rustup component add llvm-tools-preview
24
23
25
24
- name : Install cargo-llvm-cov
26
25
uses : taiki-e/install-action@cargo-llvm-cov
32
31
with :
33
32
files : lcov.info
34
33
fail_ci_if_error : true
35
-
36
-
You can’t perform that action at this time.
0 commit comments