File tree 1 file changed +5
-15
lines changed
1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -20,17 +20,12 @@ jobs:
20
20
21
21
22
22
- name : Install toolchain
23
- uses : actions-rs/ toolchain@v1
23
+ uses : dtolnay/rust- toolchain@master
24
24
with :
25
25
toolchain : ${{ matrix.rust }}
26
- minimal : true
27
- override : true
28
26
29
27
- name : Run cargo check
30
- uses : actions-rs/cargo@v1
31
- with :
32
- command : check
33
- args : --all --all-features --examples
28
+ run : cargo check --all --all-features --examples
34
29
35
30
clippy :
36
31
needs : [check]
@@ -46,16 +41,11 @@ jobs:
46
41
47
42
48
43
- name : Install toolchain
49
- uses : actions-rs/ toolchain@v1
44
+ uses : dtolnay/rust- toolchain@master
50
45
with :
51
46
toolchain : ${{ matrix.rust }}
52
- minimal : true
53
- override : true
54
47
components : clippy
55
48
56
- - name : Run cargo clippy
57
- uses : actions-rs/cargo@v1
58
- with :
59
- command : clippy
60
- args : --all-targets --all-features -- -D warnings
49
+ - name : Run cargo check
50
+ run : cargo clippy --all --all-features -- -D warnings
61
51
You can’t perform that action at this time.
0 commit comments