mirror of https://github.com/yewstack/yew
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:
parent
e3dd9cd9af
commit
20487f574c
|
@ -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
|
||||
|
|
|
@ -80,7 +80,7 @@ jobs:
|
|||
with:
|
||||
node-version: 16
|
||||
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
working-directory: yew
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue