@@ -47,10 +47,10 @@ jobs:
4747 with :
4848 persist-credentials : false
4949
50- - uses : dtolnay/rust- toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9
51- with :
52- components : clippy
53- toolchain : stable
50+ - run : rustup toolchain install stable
51+
52+ - name : Install clippy
53+ run : rustup component add clippy --toolchain= stable
5454
5555 - uses : Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
5656 with :
@@ -248,9 +248,7 @@ jobs:
248248 with :
249249 persist-credentials : false
250250
251- - uses : dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9
252- with :
253- toolchain : stable
251+ - run : rustup toolchain install stable
254252
255253 - uses : Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
256254 with :
@@ -363,10 +361,7 @@ jobs:
363361 with :
364362 python-version : ${{ env.PYTHON_VERSION }}
365363
366- - uses : dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9
367- with :
368- toolchain : stable
369- components : rustfmt
364+ run : rustup component add rustfmt --toolchain=stable
370365
371366 - uses : cargo-bins/cargo-binstall@113a77a4ce971c41332f2129c3d995df993cf746 # v1.17.8
372367
@@ -416,16 +411,13 @@ jobs:
416411 runs-on : ubuntu-latest
417412 timeout-minutes : 30
418413 env :
419- NIGHTLY_CHANNEL : nightly
414+ RUSTUP_TOOLCHAIN : nightly
420415 steps :
421416 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
422417 with :
423418 persist-credentials : false
424419
425- - uses : dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9
426- with :
427- toolchain : ${{ env.NIGHTLY_CHANNEL }}
428- components : miri
420+ - run : rustup component add miri
429421
430422 - uses : Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
431423 with :
@@ -448,10 +440,8 @@ jobs:
448440 with :
449441 persist-credentials : false
450442
451- - uses : dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9
452- with :
453- components : clippy
454- toolchain : stable
443+ - name : Install clippy
444+ run : rustup component add clippy --toolchain=stable
455445
456446 - uses : Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
457447 with :
@@ -526,10 +516,7 @@ jobs:
526516 with :
527517 persist-credentials : false
528518
529- - uses : dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9
530- with :
531- target : wasm32-wasip1
532- toolchain : stable
519+ - run : rustup toolchain install stable --target wasm32-wasip1
533520
534521 - uses : Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
535522 with :
0 commit comments