Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/benchmark-ssr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
with:
node-version: 16

- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
with:
working-directory: yew

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/main-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
with:
toolchain: ${{ matrix.toolchain }}

- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2

- name: Run native tests
env:
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
with:
toolchain: nightly

- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2

- name: Run tests
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
targets: wasm32-unknown-unknown
components: rust-src

- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2

- uses: jetli/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/size-cmp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tools-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down