File tree Expand file tree Collapse file tree 1 file changed +19
-8
lines changed
Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,26 @@ jobs:
2929 with :
3030 node-version : 21
3131
32- - name : Install Rust toolchain
33- uses : dtolnay/rust-toolchain@stable
32+ - name : Install Rust
33+ uses : actions-rs/toolchain@v1
34+ with :
35+ profile : minimal
36+ toolchain : stable
37+ override : true
3438
35- - uses : Swatinem/rust-cache@v2
36- name : Cache Cargo dependencies
39+ - name : Cache Rust target
40+ uses : actions/cache@v3
3741 with :
38- cache-on-failure : true
42+ path : |
43+ ~/.rustup/toolchains
44+ ~/.cargo/bin/
45+ ~/.cargo/registry/index/
46+ ~/.cargo/registry/cache/
47+ ~/.cargo/git/db/
48+ target/
49+ key : ${{ runner.os }}-rust-wasm32-${{ hashFiles('**/Cargo.lock') }}
50+ restore-keys : |
51+ ${{ runner.os }}-rust-wasm32-
3952
4053 - uses : cargo-bins/cargo-binstall@main
4154 name : Install cargo-binstall
4861 version : nightly
4962
5063 - name : Install rust wasm32-wasip2
51- run : |
52- rustup update stable
53- rustup target add wasm32-wasip2
64+ run : rustup target add wasm32-wasip2
5465
5566 - name : Install wasi components
5667 run : |
You can’t perform that action at this time.
0 commit comments