@@ -30,36 +30,12 @@ jobs:
30
30
- uses : dtolnay/rust-toolchain@master
31
31
with :
32
32
toolchain : ${{ matrix.rust }}
33
- - name : Run cargo build for stable
34
- uses : actions-rs/cargo@v1
35
- with :
36
- command : build
37
- args : --no-default-features --features instructions
38
- - name : Run cargo build for stable without instructions
39
- uses : actions-rs/cargo@v1
40
- with :
41
- command : build
42
- args : --no-default-features
43
- - name : Run cargo doc for stable
44
- uses : actions-rs/cargo@v1
45
- with :
46
- command : doc
47
- args : --no-default-features --features instructions
48
- - name : Run cargo doc for stable without instructions
49
- uses : actions-rs/cargo@v1
50
- with :
51
- command : doc
52
- args : --no-default-features
53
- - name : Run cargo test for stable
54
- uses : actions-rs/cargo@v1
55
- with :
56
- command : test
57
- args : --no-default-features --features instructions
58
- - name : Run cargo test for stable without instructions
59
- uses : actions-rs/cargo@v1
60
- with :
61
- command : test
62
- args : --no-default-features
33
+ - run : cargo build --no-default-features --features instructions
34
+ - run : cargo build --no-default-features
35
+ - run : cargo doc --no-default-features --features instructions
36
+ - run : cargo doc --no-default-features
37
+ - run : cargo test --no-default-features --features instructions
38
+ - run : cargo test --no-default-features
63
39
64
40
test :
65
41
name : " Test"
@@ -78,33 +54,16 @@ jobs:
78
54
with :
79
55
targets : x86_64-unknown-linux-musl
80
56
81
- - name : " Run cargo build"
82
- uses : actions-rs/cargo@v1
83
- with :
84
- command : build
57
+ - run : cargo build
85
58
86
- - name : " Run cargo doc"
87
- uses : actions-rs/cargo@v1
88
- with :
89
- command : doc
59
+ - run : cargo doc
90
60
91
- - name : " Run cargo build on musl"
92
- uses : actions-rs/cargo@v1
93
- with :
94
- command : build
95
- args : --target x86_64-unknown-linux-musl
61
+ - run : cargo build --target x86_64-unknown-linux-musl
96
62
if : runner.os == 'Linux'
97
63
98
- - name : " Run cargo test"
99
- uses : actions-rs/cargo@v1
100
- with :
101
- command : test
64
+ - run : cargo test
102
65
103
- - name : " Run cargo test on musl"
104
- uses : actions-rs/cargo@v1
105
- with :
106
- command : test
107
- args : --target x86_64-unknown-linux-musl
66
+ - run : cargo test --target x86_64-unknown-linux-musl
108
67
if : runner.os == 'Linux'
109
68
110
69
- name : " Install Rustup Targets"
@@ -186,10 +145,7 @@ jobs:
186
145
- uses : dtolnay/rust-toolchain@nightly
187
146
with :
188
147
components : rustfmt
189
- - uses : actions-rs/cargo@v1
190
- with :
191
- command : fmt
192
- args : --all -- --check
148
+ - run : cargo fmt --all -- --check
193
149
194
150
clippy :
195
151
name : " Clippy"
@@ -200,9 +156,7 @@ jobs:
200
156
- uses : dtolnay/rust-toolchain@nightly
201
157
with :
202
158
components : clippy
203
- - uses : actions-rs/cargo@v1
204
- with :
205
- command : clippy
159
+ - run : cargo clippy
206
160
207
161
semver-checks :
208
162
name : Semver Checks
0 commit comments