File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 2929 ~/.cargo/registry
3030 ~/.cargo/git
3131 target
32- key : ${{ runner.os }}-debug-opt3- ${{ hashFiles('Cargo.lock') }}
32+ key : ${{ runner.os }}-debug_opt3- ${{ hashFiles('**/ Cargo.lock') }}
3333 - name : run rust tests
3434 uses : actions-rs/cargo@v1
3535 with :
5656 ~/.cargo/registry
5757 ~/.cargo/git
5858 target
59- key : ${{ runner.os }}-release-${{ hashFiles('Cargo.lock') }}
59+ key : ${{ runner.os }}-release-${{ hashFiles('**/ Cargo.lock') }}
6060 - name : build rustpython
6161 uses : actions-rs/cargo@v1
6262 with :
@@ -123,6 +123,7 @@ jobs:
123123
124124 wasm :
125125 name : Check the WASM package and demo
126+ needs : rust_tests
126127 runs-on : ubuntu-latest
127128 steps :
128129 - uses : actions/checkout@master
@@ -133,10 +134,9 @@ jobs:
133134 ~/.cargo/registry
134135 ~/.cargo/git
135136 target
136- key : ${{ runner.os }}-wasm -${{ hashFiles('**/Cargo.lock') }}
137+ key : ${{ runner.os }}-wasm_opt3 -${{ hashFiles('**/Cargo.lock') }}
137138 restore-keys : |
138- ${{ runner.os }}-debug-opt3-${{ hashFiles('Cargo.lock') }}
139- ${{ runner.os }}-debug-opt3
139+ ${{ runner.os }}-debug_opt3-${{ hashFiles('**/Cargo.lock') }}
140140 - name : install wasm-pack
141141 run : curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
142142 - name : install geckodriver
You can’t perform that action at this time.
0 commit comments