Update `Swatinem/rust-cache` to v2
This commit is contained in:
parent
e6f84be167
commit
7bc5a96277
|
@ -157,7 +157,7 @@ jobs:
|
|||
# needed to correctly format errors, see #1865
|
||||
components: rust-src
|
||||
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: cargo-${{ matrix.platform.python-architecture }}-${{ matrix.platform.os }}-${{ matrix.msrv }}
|
||||
continue-on-error: true
|
||||
|
@ -316,7 +316,7 @@ jobs:
|
|||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: cargo-valgrind
|
||||
continue-on-error: true
|
||||
|
@ -339,7 +339,7 @@ jobs:
|
|||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: cargo-careful
|
||||
continue-on-error: true
|
||||
|
@ -365,7 +365,7 @@ jobs:
|
|||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: coverage-cargo-${{ matrix.os }}
|
||||
continue-on-error: true
|
||||
|
@ -404,7 +404,7 @@ jobs:
|
|||
path: |
|
||||
.nox/emscripten
|
||||
key: ${{ hashFiles('emscripten/*') }} - ${{ hashFiles('noxfile.py') }} - ${{ steps.setup-python.outputs.python-path }}
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: cargo-emscripten-wasm32
|
||||
- name: Build
|
||||
|
|
Loading…
Reference in New Issue