File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,25 @@ jobs:
1919 with :
2020 ref : ${{ github.event.pull_request.head.sha }}
2121
22+ - name : Cache Rust
23+ uses : actions/cache@v3
24+ with :
25+ path : |
26+ ~/.cargo/bin/
27+ ~/.cargo/registry/index/
28+ ~/.cargo/registry/cache/
29+ ~/.cargo/git/db/
30+ target/
31+ key : ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
32+ restore-keys : |
33+ ${{ runner.os }}-rust-
34+
2235 - name : Install Rust
2336 uses : dtolnay/rust-toolchain@v1
2437 with :
2538 toolchain : nightly
2639
27- - name : Install wasm-pack
40+ - name : Install wasm tools
2841 run : |
2942 rustup component add rustfmt
3043 cargo install wasm-pack --version 0.13.1
6376 run : |
6477 git fetch origin $GITHUB_BASE_REF
6578
79+ - name : Cache npm packages
80+ uses : actions/cache@v3
81+ with :
82+ path : ~/.npm
83+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
84+ restore-keys : |
85+ ${{ runner.os }}-node-
86+
6687 - name : Install Packages
6788 run : npm ci --workspaces --include-workspace-root
6889
You can’t perform that action at this time.
0 commit comments