@@ -132,13 +132,11 @@ jobs:
132
132
submodules : true
133
133
134
134
- name : Install Rust toolchain
135
- uses : actions-rs/ toolchain@v1
135
+ uses : dtolnay/rust- toolchain@master
136
136
with :
137
137
toolchain : ${{ env.CURRENT_NIGHTLY }}
138
- profile : minimal
139
- override : true
140
138
components : clippy ${{ matrix.build-std && ', rust-src' || '' }}
141
- target : ${{ (!matrix.build-std) && matrix.target || null }}
139
+ targets : ${{ (!matrix.build-std) && matrix.target || null }}
142
140
143
141
- name : Cache Cargo
144
142
uses : actions/cache@v3
@@ -165,12 +163,10 @@ jobs:
165
163
submodules : true
166
164
167
165
- name : Install Rust toolchain
168
- uses : actions-rs/ toolchain@v1
166
+ uses : dtolnay/rust- toolchain@master
169
167
with :
170
168
toolchain : ' 1.60'
171
- profile : minimal
172
- override : true
173
- target : x86_64-apple-darwin
169
+ targets : x86_64-apple-darwin
174
170
175
171
- name : Cache Cargo
176
172
uses : actions/cache@v3
@@ -198,11 +194,9 @@ jobs:
198
194
submodules : true
199
195
200
196
- name : Install Rust toolchain
201
- uses : actions-rs/ toolchain@v1
197
+ uses : dtolnay/rust- toolchain@master
202
198
with :
203
199
toolchain : ${{ env.CURRENT_NIGHTLY }}
204
- profile : minimal
205
- override : true
206
200
components : rust-src
207
201
208
202
- name : Cache Cargo
@@ -227,11 +221,9 @@ jobs:
227
221
submodules : true
228
222
229
223
- name : Install Rust toolchain
230
- uses : actions-rs/ toolchain@v1
224
+ uses : dtolnay/rust- toolchain@master
231
225
with :
232
226
toolchain : ${{ env.CURRENT_NIGHTLY }}
233
- profile : minimal
234
- override : true
235
227
components : rust-src
236
228
237
229
- name : Install remaining targets
@@ -334,11 +326,9 @@ jobs:
334
326
submodules : true
335
327
336
328
- name : Install Rust toolchain
337
- uses : actions-rs/ toolchain@v1
329
+ uses : dtolnay/rust- toolchain@master
338
330
with :
339
331
toolchain : stable
340
- profile : minimal
341
- override : true
342
332
343
333
- name : Cache Cargo
344
334
uses : actions/cache@v3
@@ -424,11 +414,9 @@ jobs:
424
414
submodules : true
425
415
426
416
- name : Install Rust toolchain
427
- uses : actions-rs/ toolchain@v1
417
+ uses : dtolnay/rust- toolchain@master
428
418
with :
429
419
toolchain : ${{ matrix.nightly && env.CURRENT_NIGHTLY || 'stable' }}
430
- profile : minimal
431
- override : true
432
420
components : ${{ matrix.build-std && 'rust-src' }}
433
421
target : ${{ (!matrix.build-std) && matrix.target || null }}
434
422
@@ -514,12 +502,10 @@ jobs:
514
502
submodules : true
515
503
516
504
- name : Install Rust toolchain
517
- uses : actions-rs/ toolchain@v1
505
+ uses : dtolnay/rust- toolchain@master
518
506
with :
519
507
toolchain : stable
520
- profile : minimal
521
- override : true
522
- target : x86_64-apple-ios
508
+ targets : x86_64-apple-ios
523
509
524
510
- name : Cache Cargo
525
511
uses : actions/cache@v3
@@ -714,12 +700,10 @@ jobs:
714
700
ls -al $HOME/extern/*
715
701
716
702
- name : Install Rust toolchain
717
- uses : actions-rs/ toolchain@v1
703
+ uses : dtolnay/rust- toolchain@master
718
704
with :
719
705
toolchain : ${{ matrix.nightly && env.CURRENT_NIGHTLY || 'stable' }}
720
- profile : minimal
721
- override : true
722
- target : ${{ matrix.target }}
706
+ targets : ${{ matrix.target }}
723
707
724
708
- name : Cache Cargo
725
709
uses : actions/cache@v3
0 commit comments