|
36 | 36 |
|
37 | 37 | - name: Install rust stable toolchain |
38 | 38 | if: steps.xtask-cache.outputs.cache-hit != 'true' |
39 | | - uses: actions-rs/toolchain@v1 |
40 | | - with: |
41 | | - profile: minimal |
42 | | - toolchain: stable |
43 | | - override: true |
| 39 | + uses: dtolnay/rust-toolchain@stable |
44 | 40 |
|
45 | 41 | - name: Build |
46 | 42 | if: steps.xtask-cache.outputs.cache-hit != 'true' |
|
73 | 69 | uses: actions/checkout@v1 |
74 | 70 |
|
75 | 71 | - name: Install Rust |
76 | | - uses: actions-rs/toolchain@v1 |
77 | | - with: |
78 | | - toolchain: stable |
79 | | - profile: minimal |
80 | | - override: true |
| 72 | + uses: dtolnay/rust-toolchain@stable |
81 | 73 |
|
82 | 74 | - name: Load cache |
83 | 75 | uses: Swatinem/rust-cache@v2 |
@@ -108,11 +100,7 @@ jobs: |
108 | 100 | uses: actions/checkout@v3 |
109 | 101 |
|
110 | 102 | - name: Install Rust |
111 | | - uses: actions-rs/toolchain@v1 |
112 | | - with: |
113 | | - toolchain: stable |
114 | | - profile: minimal |
115 | | - override: true |
| 103 | + uses: dtolnay/rust-toolchain@stable |
116 | 104 |
|
117 | 105 | - name: Load cache |
118 | 106 | uses: Swatinem/rust-cache@v2 |
@@ -143,11 +131,7 @@ jobs: |
143 | 131 | uses: actions/checkout@v3 |
144 | 132 |
|
145 | 133 | - name: Install Rust |
146 | | - uses: actions-rs/toolchain@v1 |
147 | | - with: |
148 | | - toolchain: stable |
149 | | - profile: minimal |
150 | | - override: true |
| 134 | + uses: dtolnay/rust-toolchain@stable |
151 | 135 |
|
152 | 136 | - name: Load cache |
153 | 137 | uses: Swatinem/rust-cache@v2 |
@@ -198,11 +182,7 @@ jobs: |
198 | 182 | repo-token: ${{ secrets.GITHUB_TOKEN }} |
199 | 183 |
|
200 | 184 | - name: Install Rust |
201 | | - uses: actions-rs/toolchain@v1 |
202 | | - with: |
203 | | - toolchain: ${{ matrix.rust }} |
204 | | - profile: minimal |
205 | | - override: true |
| 185 | + uses: dtolnay/rust-toolchain@${{ matrix.rust }} |
206 | 186 |
|
207 | 187 | - name: Load cache |
208 | 188 | uses: Swatinem/rust-cache@v2 |
@@ -265,13 +245,10 @@ jobs: |
265 | 245 | uses: actions/checkout@v3 |
266 | 246 |
|
267 | 247 | - name: Install Rust |
268 | | - uses: actions-rs/toolchain@v1 |
| 248 | + uses: dtolnay/rust-toolchain@stable |
269 | 249 | with: |
270 | | - toolchain: stable |
271 | | - target: wasm32-unknown-unknown |
| 250 | + targets: wasm32-unknown-unknown |
272 | 251 | components: clippy |
273 | | - profile: minimal |
274 | | - override: true |
275 | 252 |
|
276 | 253 | - name: Install wasm-pack |
277 | 254 | uses: jetli/wasm-pack-action@v0.4.0 |
@@ -323,11 +300,7 @@ jobs: |
323 | 300 | uses: actions/checkout@v1 |
324 | 301 |
|
325 | 302 | - name: Install Rust |
326 | | - uses: actions-rs/toolchain@v1 |
327 | | - with: |
328 | | - toolchain: stable |
329 | | - profile: minimal |
330 | | - override: true |
| 303 | + uses: dtolnay/rust-toolchain@stable |
331 | 304 |
|
332 | 305 | - name: Load cache |
333 | 306 | uses: Swatinem/rust-cache@v2 |
@@ -357,12 +330,9 @@ jobs: |
357 | 330 | uses: actions/checkout@v3 |
358 | 331 |
|
359 | 332 | - name: Install Rust |
360 | | - uses: actions-rs/toolchain@v1 |
| 333 | + uses: dtolnay/rust-toolchain@nightly |
361 | 334 | with: |
362 | | - toolchain: nightly |
363 | 335 | components: rustfmt |
364 | | - profile: minimal |
365 | | - override: true |
366 | 336 |
|
367 | 337 | - name: Cargo fmt |
368 | 338 | uses: actions-rs/cargo@v1 |
@@ -398,12 +368,9 @@ jobs: |
398 | 368 | repo-token: ${{ secrets.GITHUB_TOKEN }} |
399 | 369 |
|
400 | 370 | - name: Install Rust |
401 | | - uses: actions-rs/toolchain@v1 |
| 371 | + uses: dtolnay/rust-toolchain@nightly |
402 | 372 | with: |
403 | | - toolchain: nightly |
404 | 373 | components: clippy |
405 | | - profile: minimal |
406 | | - override: true |
407 | 374 |
|
408 | 375 | - name: Load cache |
409 | 376 | uses: Swatinem/rust-cache@v2 |
@@ -431,11 +398,7 @@ jobs: |
431 | 398 | uses: actions/checkout@v3 |
432 | 399 |
|
433 | 400 | - name: Install Rust |
434 | | - uses: actions-rs/toolchain@v1 |
435 | | - with: |
436 | | - toolchain: stable |
437 | | - profile: minimal |
438 | | - override: true |
| 401 | + uses: dtolnay/rust-toolchain@stable |
439 | 402 |
|
440 | 403 | - name: Load cache |
441 | 404 | uses: Swatinem/rust-cache@v2 |
@@ -493,11 +456,7 @@ jobs: |
493 | 456 | uses: actions/checkout@v3 |
494 | 457 |
|
495 | 458 | - name: Install Rust |
496 | | - uses: actions-rs/toolchain@v1 |
497 | | - with: |
498 | | - toolchain: stable |
499 | | - profile: minimal |
500 | | - override: true |
| 459 | + uses: dtolnay/rust-toolchain@stable |
501 | 460 |
|
502 | 461 | - name: Load cache |
503 | 462 | uses: Swatinem/rust-cache@v2 |
|
0 commit comments