Skip to content

Commit 60037a2

Browse files
authored
Cache WASM dependencies
1 parent 4c49185 commit 60037a2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@ jobs:
124124
runs-on: ubuntu-latest
125125
steps:
126126
- uses: actions/checkout@master
127+
- name: Cache cargo dependencies
128+
uses: actions/cache@v1
129+
with:
130+
key: ${{ runner.os }}-wasm-${{ hashFiles('**/Cargo.lock') }}
131+
path: target
132+
restore-keys: |
133+
${{ runner.os }}-wasm-
127134
- name: install wasm-pack
128135
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
129136
- name: install geckodriver

0 commit comments

Comments
 (0)