@@ -27,16 +27,12 @@ jobs:
2727 with :
2828 node-version : 18
2929 - name : Install Rust
30- uses : actions-rs/toolchain@v1
31- with :
32- toolchain : stable
33- profile : minimal
34- override : true
30+ uses : dtolnay/rust-toolchain@stable
3531
3632 - name : Setup rust target
3733 run : rustup target add ${{ matrix.target }}
3834
39- - uses : bahmutov/npm-install@v1.1.0
35+ - uses : bahmutov/npm-install@v1.8.32
4036 - name : Build release
4137 run : yarn build-release
4238 env :
@@ -66,16 +62,12 @@ jobs:
6662 with :
6763 node-version : 18
6864 - name : Install Rust
69- uses : actions-rs/toolchain@v1
70- with :
71- toolchain : stable
72- profile : minimal
73- override : true
65+ uses : dtolnay/rust-toolchain@stable
7466
7567 - name : Setup rust target
7668 run : rustup target add aarch64-apple-darwin
7769
78- - uses : bahmutov/npm-install@v1.1.0
70+ - uses : bahmutov/npm-install@v1.8.32
7971 - name : Build release
8072 run : yarn build-release
8173 env :
@@ -136,11 +128,7 @@ jobs:
136128 with :
137129 node-version : 18
138130 - name : Install Rust
139- uses : actions-rs/toolchain@v1
140- with :
141- toolchain : stable
142- profile : minimal
143- override : true
131+ uses : dtolnay/rust-toolchain@stable
144132
145133 - name : Setup cross compile toolchain
146134 if : ${{ matrix.setup }}
@@ -149,7 +137,7 @@ jobs:
149137 - name : Setup rust target
150138 run : rustup target add ${{ matrix.target }}
151139
152- - uses : bahmutov/npm-install@v1.1.0
140+ - uses : bahmutov/npm-install@v1.8.32
153141 - name : Build release
154142 run : yarn build-release
155143 env :
@@ -178,12 +166,9 @@ jobs:
178166 with :
179167 node-version : 18
180168 - name : Install Rust
181- uses : actions-rs/ toolchain@v1
169+ uses : dtolnay/rust- toolchain@stable
182170 with :
183- toolchain : stable
184- profile : minimal
185- override : true
186- target : wasm32-unknown-unknown
171+ targets : wasm32-unknown-unknown
187172 - name : Install wasm-opt
188173 run : |
189174 curl -L -O https://github.com/WebAssembly/binaryen/releases/download/version_111/binaryen-version_111-x86_64-linux.tar.gz
@@ -210,7 +195,7 @@ jobs:
210195 - build-wasm
211196 steps :
212197 - uses : actions/checkout@v3
213- - uses : bahmutov/npm-install@v1.1.0
198+ - uses : bahmutov/npm-install@v1.8.32
214199 - name : Download artifacts
215200 uses : actions/download-artifact@v3
216201 with :
@@ -246,14 +231,10 @@ jobs:
246231 runs-on : ubuntu-latest
247232 name : Release Rust crate
248233 steps :
249- - uses : actions/checkout@v1
250- - uses : bahmutov/npm-install@v1.1.0
234+ - uses : actions/checkout@v3
235+ - uses : bahmutov/npm-install@v1.8.32
251236 - name : Install Rust
252- uses : actions-rs/toolchain@v1
253- with :
254- toolchain : stable
255- profile : minimal
256- override : true
237+ uses : dtolnay/rust-toolchain@stable
257238 - run : cargo login ${CRATES_IO_TOKEN}
258239 env :
259240 CRATES_IO_TOKEN : ${{ secrets.CRATES_IO_TOKEN }}
0 commit comments