File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed
Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,11 @@ jobs:
2525 - name : Cache cargo dependencies
2626 uses : actions/cache@v2
2727 with :
28- key : ${{ runner.os }}-rust_tests-${{ hashFiles('Cargo.lock') }}
29- path : target
30- restore-keys : |
31- ${{ runner.os }}-rust_tests-
28+ path : |
29+ ~/.cargo/registry
30+ ~/.cargo/git
31+ target
32+ key : ${{ runner.os }}-debug-${{ hashFiles('Cargo.lock') }}
3233 - name : run rust tests
3334 uses : actions-rs/cargo@v1
3435 with :
@@ -51,10 +52,11 @@ jobs:
5152 - name : Cache cargo dependencies
5253 uses : actions/cache@v2
5354 with :
54- key : ${{ runner.os }}-snippets-${{ hashFiles('Cargo.lock') }}
55- path : target
56- restore-keys : |
57- ${{ runner.os }}-snippets-
55+ path : |
56+ ~/.cargo/registry
57+ ~/.cargo/git
58+ target
59+ key : ${{ runner.os }}-release-${{ hashFiles('Cargo.lock') }}
5860 - name : build rustpython
5961 uses : actions-rs/cargo@v1
6062 with :
@@ -122,10 +124,13 @@ jobs:
122124 - name : Cache cargo dependencies
123125 uses : actions/cache@v2
124126 with :
127+ path : |
128+ ~/.cargo/registry
129+ ~/.cargo/git
130+ target
125131 key : ${{ runner.os }}-wasm-${{ hashFiles('**/Cargo.lock') }}
126- path : target
127132 restore-keys : |
128- ${{ runner.os }}-wasm-
133+ ${{ runner.os }}-debug-${{ hashFiles('Cargo.lock') }}
129134 - name : install wasm-pack
130135 run : curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
131136 - name : install geckodriver
You can’t perform that action at this time.
0 commit comments