5252 fail-fast : false
5353 steps :
5454 - uses : actions/checkout@v2
55- - uses : actions-rs/ toolchain@v1
55+ - uses : dtolnay/rust- toolchain@stable
5656 - name : Set up the Windows environment
5757 shell : bash
5858 run : |
7575 args : ${{ env.CARGO_ARGS }} --no-default-features
7676
7777 - name : prepare AppleSilicon build
78- uses : actions-rs/ toolchain@v1
78+ uses : dtolnay/rust- toolchain@stable
7979 with :
8080 target : aarch64-apple-darwin
8181 if : runner.os == 'macOS'
9292 steps :
9393 - uses : actions/checkout@v2
9494
95- - uses : actions-rs/ toolchain@v1
95+ - uses : dtolnay/rust- toolchain@stable
9696 with :
9797 target : i686-unknown-linux-gnu
9898
@@ -104,7 +104,7 @@ jobs:
104104 command : check
105105 args : --target i686-unknown-linux-gnu
106106
107- - uses : actions-rs/ toolchain@v1
107+ - uses : dtolnay/rust- toolchain@stable
108108 with :
109109 target : aarch64-linux-android
110110
@@ -114,7 +114,7 @@ jobs:
114114 command : check
115115 args : --target aarch64-linux-android
116116
117- - uses : actions-rs/ toolchain@v1
117+ - uses : dtolnay/rust- toolchain@stable
118118 with :
119119 target : i686-unknown-linux-musl
120120
@@ -124,7 +124,7 @@ jobs:
124124 command : check
125125 args : --target i686-unknown-linux-musl
126126
127- - uses : actions-rs/ toolchain@v1
127+ - uses : dtolnay/rust- toolchain@stable
128128 with :
129129 target : x86_64-unknown-freebsd
130130
@@ -134,7 +134,7 @@ jobs:
134134 command : check
135135 args : --target x86_64-unknown-freebsd
136136
137- - uses : actions-rs/ toolchain@v1
137+ - uses : dtolnay/rust- toolchain@stable
138138 with :
139139 target : wasm32-unknown-unknown
140140
@@ -144,7 +144,7 @@ jobs:
144144 command : check
145145 args : --target wasm32-unknown-unknown --no-default-features
146146
147- - uses : actions-rs/ toolchain@v1
147+ - uses : dtolnay/rust- toolchain@stable
148148 with :
149149 target : x86_64-unknown-freebsd
150150
@@ -173,7 +173,7 @@ jobs:
173173 fail-fast : false
174174 steps :
175175 - uses : actions/checkout@v2
176- - uses : actions-rs/ toolchain@v1
176+ - uses : dtolnay/rust- toolchain@stable
177177 - uses : actions/setup-python@v2
178178 with :
179179 python-version : " 3.10"
@@ -244,11 +244,9 @@ jobs:
244244 runs-on : ubuntu-latest
245245 steps :
246246 - uses : actions/checkout@v2
247- - uses : actions-rs/ toolchain@v1
247+ - uses : dtolnay/rust- toolchain@stable
248248 with :
249- profile : minimal
250249 components : rustfmt, clippy
251- override : true
252250 - name : run rustfmt
253251 uses : actions-rs/cargo@v1
254252 with :
@@ -281,12 +279,10 @@ jobs:
281279 runs-on : ubuntu-latest
282280 steps :
283281 - uses : actions/checkout@v2
284- - uses : actions-rs/ toolchain@v1
282+ - uses : dtolnay/rust- toolchain@master
285283 with :
286- profile : minimal
287284 toolchain : nightly
288285 components : miri
289- override : true
290286 - uses : Swatinem/rust-cache@v1
291287 - name : Run tests under miri
292288 # miri-ignore-leaks because the type-object circular reference means that there will always be
@@ -299,7 +295,7 @@ jobs:
299295 runs-on : ubuntu-latest
300296 steps :
301297 - uses : actions/checkout@v2
302- - uses : actions-rs/ toolchain@v1
298+ - uses : dtolnay/rust- toolchain@stable
303299 - name : Cache cargo dependencies
304300 uses : actions/cache@v2
305301 with :
@@ -355,11 +351,9 @@ jobs:
355351 runs-on : ubuntu-latest
356352 steps :
357353 - uses : actions/checkout@v2
358- - uses : actions-rs/ toolchain@v1
354+ - uses : dtolnay/rust- toolchain@stable
359355 with :
360- toolchain : stable
361356 target : wasm32-wasi
362- override : true
363357 - name : Setup Wasmer
364358 uses : wasmerio/setup-wasmer@v1
365359 - name : Install clang
0 commit comments