Bump Swatinem/rust-cache from 1 to 2 (#3003)

Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 1 to 2.
- [Release notes](https://github.com/Swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Swatinem/rust-cache/compare/v1...v2)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2022-12-05 21:47:24 +09:00 committed by GitHub
parent e3dd9cd9af
commit 20487f574c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 12 deletions

View File

@ -38,13 +38,13 @@ jobs:
targets: wasm32-unknown-unknown
- name: Restore Rust cache for master
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2
with:
working-directory: yew-master
key: master
- name: Restore Rust cache for current pull request
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2
with:
working-directory: current-pr
key: pr

View File

@ -80,7 +80,7 @@ jobs:
with:
node-version: 16
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
with:
working-directory: yew

View File

@ -29,7 +29,7 @@ jobs:
toolchain: stable
components: clippy
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo clippy --all-targets --all-features --profile ${{ matrix.profile }} -- -D warnings
@ -59,7 +59,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Setup toolchain
uses: dtolnay/rust-toolchain@master
@ -109,7 +109,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
# for wasm-bindgen-cli, always use stable rust
- name: Setup toolchain
@ -163,7 +163,7 @@ jobs:
with:
toolchain: ${{ matrix.toolchain }}
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Run native tests
env:
@ -191,7 +191,7 @@ jobs:
with:
toolchain: nightly
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Run tests
env:

View File

@ -24,7 +24,7 @@ jobs:
targets: wasm32-unknown-unknown
components: rust-src
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- uses: jetli/trunk-action@v0.1.0
with:

View File

@ -37,13 +37,13 @@ jobs:
targets: wasm32-unknown-unknown
- name: Restore Rust cache for master
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2
with:
working-directory: yew-master
key: master
- name: Restore Rust cache for current pull request
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2
with:
working-directory: current-pr
key: pr

View File

@ -38,7 +38,7 @@ jobs:
toolchain: ${{ matrix.toolchain }}
components: ${{ matrix.runs }}
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Run clippy for ${{ matrix.workspace }}
if: matrix.runs == 'clippy'