Commit f3b27b1 1 parent 7494153 commit f3b27b1 Copy full SHA for f3b27b1
File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -31,20 +31,22 @@ jobs:
31
31
- name : Cache
32
32
uses : Swatinem/rust-cache@v1
33
33
- name : Run cargo fmt
34
+ if : matrix.channel == 'nightly'
34
35
uses : actions-rs/cargo@v1
35
36
with :
36
37
command : fmt
37
38
args : --all -- --check
38
- - name : Run cargo check with no default features
39
- uses : actions-rs/cargo@v1
40
- with :
41
- command : check
42
- args : --no-default-features
43
39
- name : Run cargo clippy
40
+ if : matrix.channel == 'nightly'
44
41
uses : actions-rs/cargo@v1
45
42
with :
46
43
command : clippy
47
44
args : -- -D warnings
45
+ - name : Run cargo check with no default features
46
+ uses : actions-rs/cargo@v1
47
+ with :
48
+ command : check
49
+ args : --no-default-features
48
50
- env :
49
51
CHANNEL : ${{ matrix.channel }}
50
52
CROSS : ${{ !startsWith(matrix.target, 'x86_64') && contains(matrix.target, 'linux') && '1' || '0' }}
@@ -106,4 +108,4 @@ jobs:
106
108
- target : i686-pc-windows-msvc
107
109
os : windows-latest
108
110
- target : i686-pc-windows-gnu
109
- os : windows-latest
111
+ os : windows-latest
You can’t perform that action at this time.
0 commit comments