File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -737,11 +737,11 @@ jobs:
737737 target : ${{ matrix.target }}
738738 override : true
739739 components : rustfmt
740- - uses : Swatinem/rust-cache@v1
740+ - uses : Swatinem/rust-cache@v2
741741 with :
742- working-directory : rust/cubestore
743- key : cross-${{ runner.OS }}-${{ matrix.target }}
744- sharedKey : cross-${{ runner.OS }} -${{ matrix.target }}
742+ workspaces : ./ rust/cubestore -> target
743+ prefix- key : v0-rust-cubestore-cross
744+ key : target -${{ matrix.target }}
745745 - run : source .github/actions/${{ matrix.before_script }}.sh
746746 if : ${{ matrix.before_script }}
747747 shell : bash
Original file line number Diff line number Diff line change @@ -244,9 +244,8 @@ jobs:
244244 - uses : Swatinem/rust-cache@v2
245245 with :
246246 workspaces : ./rust/cubestore -> target
247- # We should use a separate key for testing to pass disk space limitations
248- shared-key : cubestore-testing
249- key : ubuntu-20.04
247+ prefix-key : v0-rust-cubestore-cross
248+ key : target-${{ matrix.target }}
250249 - run : source .github/actions/${{ matrix.before_script }}.sh
251250 if : ${{ matrix.before_script }}
252251 shell : bash
Original file line number Diff line number Diff line change @@ -182,11 +182,11 @@ jobs:
182182 target : ${{ matrix.target }}
183183 override : true
184184 components : rustfmt
185- - uses : Swatinem/rust-cache@v1
185+ - uses : Swatinem/rust-cache@v2
186186 with :
187- working-directory : rust/cubestore
188- key : cross-${{ runner.OS }}-${{ matrix.target }}
189- sharedKey : cross-${{ runner.OS }} -${{ matrix.target }}
187+ workspaces : ./ rust/cubestore -> target
188+ prefix- key : v0-rust-cubestore-cross
189+ key : target -${{ matrix.target }}
190190 - run : source .github/actions/${{ matrix.before_script }}.sh
191191 if : ${{ matrix.before_script }}
192192 shell : bash
You can’t perform that action at this time.
0 commit comments