File tree 1 file changed +9
-11
lines changed
1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -16,25 +16,23 @@ jobs:
16
16
- uses : actions/checkout@v1
17
17
- uses : actions-rs/toolchain@v1
18
18
with :
19
- profile : minimal
20
- toolchain : 1.46.0
19
+ toolchain : 1.46.0 # MSRV
21
20
components : clippy
21
+ override : true
22
+ profile : minimal
22
23
- run : cargo clippy --all --all-features -- -D warnings
24
+
23
25
rustfmt :
24
26
runs-on : ubuntu-latest
25
27
steps :
26
- - name : Checkout sources
27
- uses : actions/checkout@v1
28
-
29
- - name : Install stable toolchain
30
- uses : actions-rs/toolchain@v1
28
+ - uses : actions/checkout@v1
29
+ - uses : actions-rs/toolchain@v1
31
30
with :
32
- profile : minimal
33
31
toolchain : stable
34
32
components : rustfmt
35
-
36
- - name : Run cargo fmt
37
- uses : actions-rs/cargo@v1
33
+ profile : minimal
34
+ override : true
35
+ - uses : actions-rs/cargo@v1
38
36
with :
39
37
command : fmt
40
38
args : --all -- --check
You can’t perform that action at this time.
0 commit comments