35
35
echo "version=${RUST_VERSION}" >> $GITHUB_OUTPUT
36
36
37
37
- name : Install Rust ${{ steps.parse-msrv.outputs.version }} for MSRV check
38
- uses : actions-rs/ toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
38
+ uses : dtolnay/rust- toolchain@ce8f65846d7180d2ce63b1e74483d981800b9e22 # v1
39
39
with :
40
- profile : minimal
41
40
toolchain : ${{ steps.parse-msrv.outputs.version }}
42
- override : true
43
41
44
42
- uses : Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
45
43
with :
49
47
- name : Check if ${{ matrix.crate }} compiles on MSRV (Rust ${{ steps.parse-msrv.outputs.version }})
50
48
run : cargo +${{ steps.parse-msrv.outputs.version }} build --package ${{ matrix.crate }} --all-features
51
49
52
- - uses : actions-rs/ toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
50
+ - uses : dtolnay/rust- toolchain@ce8f65846d7180d2ce63b1e74483d981800b9e22 # v1
53
51
with :
54
- profile : minimal
55
52
toolchain : stable
56
- override : true
57
53
58
54
- uses : Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
59
55
with :
@@ -113,11 +109,9 @@ jobs:
113
109
114
110
- uses : actions/checkout@v3
115
111
116
- - uses : actions-rs/ toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
112
+ - uses : dtolnay/rust- toolchain@ce8f65846d7180d2ce63b1e74483d981800b9e22 # v1
117
113
with :
118
- profile : minimal
119
114
toolchain : stable
120
- override : true
121
115
target : ${{ matrix.target }}
122
116
123
117
- uses : Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
@@ -141,11 +135,9 @@ jobs:
141
135
142
136
- uses : actions/checkout@v3
143
137
144
- - uses : actions-rs/ toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
138
+ - uses : dtolnay/rust- toolchain@ce8f65846d7180d2ce63b1e74483d981800b9e22 # v1
145
139
with :
146
- profile : minimal
147
140
toolchain : stable
148
- override : true
149
141
150
142
- uses : Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
151
143
with :
@@ -163,11 +155,9 @@ jobs:
163
155
164
156
- uses : actions/checkout@v3
165
157
166
- - uses : actions-rs/ toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
158
+ - uses : dtolnay/rust- toolchain@ce8f65846d7180d2ce63b1e74483d981800b9e22 # v1
167
159
with :
168
- profile : minimal
169
160
toolchain : stable
170
- override : true
171
161
172
162
- uses : Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
173
163
with :
@@ -191,11 +181,9 @@ jobs:
191
181
192
182
- uses : actions/checkout@v3
193
183
194
- - uses : actions-rs/ toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
184
+ - uses : dtolnay/rust- toolchain@ce8f65846d7180d2ce63b1e74483d981800b9e22 # v1
195
185
with :
196
- profile : minimal
197
186
toolchain : ${{ matrix.rust-version }}
198
- override : true
199
187
components : clippy
200
188
201
189
- uses : Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
@@ -216,11 +204,9 @@ jobs:
216
204
217
205
- uses : actions/checkout@v3
218
206
219
- - uses : actions-rs/ toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
207
+ - uses : dtolnay/rust- toolchain@ce8f65846d7180d2ce63b1e74483d981800b9e22 # v1
220
208
with :
221
- profile : minimal
222
209
toolchain : stable
223
- override : true
224
210
225
211
- uses : Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
226
212
with :
@@ -234,11 +220,9 @@ jobs:
234
220
steps :
235
221
- uses : actions/checkout@v3
236
222
237
- - uses : actions-rs/ toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
223
+ - uses : dtolnay/rust- toolchain@ce8f65846d7180d2ce63b1e74483d981800b9e22 # v1
238
224
with :
239
- profile : minimal
240
225
toolchain : stable
241
- override : true
242
226
components : rustfmt
243
227
244
228
- name : Check formatting
@@ -249,11 +233,9 @@ jobs:
249
233
steps :
250
234
- uses : actions/checkout@v3
251
235
252
- - uses : actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
253
- with :
254
- profile : minimal
236
+ - uses : dtolnay/rust-toolchain@ce8f65846d7180d2ce63b1e74483d981800b9e22 # v1
237
+ with :
255
238
toolchain : stable
256
- override : true
257
239
258
240
- name : Ensure `full` feature contains all features
259
241
run : |
0 commit comments