Skip to content

Commit 34520e7

Browse files
authored
Merge pull request #132 from assert-rs/renovate/swatinem-rust-cache-2.x
chore(deps): update swatinem/rust-cache action to v2
2 parents 9ed2cfc + af78ec4 commit 34520e7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
toolchain: ${{ matrix.rust }}
4242
profile: minimal
4343
override: true
44-
- uses: Swatinem/rust-cache@v1
44+
- uses: Swatinem/rust-cache@v2
4545
- name: Build
4646
run: cargo test --no-run --workspace --all-features
4747
- name: Default features
@@ -62,7 +62,7 @@ jobs:
6262
toolchain: 1.60.0 # MSRV
6363
profile: minimal
6464
override: true
65-
- uses: Swatinem/rust-cache@v1
65+
- uses: Swatinem/rust-cache@v2
6666
- name: Default features
6767
run: cargo check --workspace --all-targets
6868
- name: All features
@@ -81,7 +81,7 @@ jobs:
8181
toolchain: stable
8282
profile: minimal
8383
override: true
84-
- uses: Swatinem/rust-cache@v1
84+
- uses: Swatinem/rust-cache@v2
8585
- name: Check documentation
8686
env:
8787
RUSTDOCFLAGS: -D warnings
@@ -101,7 +101,7 @@ jobs:
101101
profile: minimal
102102
override: true
103103
components: rustfmt
104-
- uses: Swatinem/rust-cache@v1
104+
- uses: Swatinem/rust-cache@v2
105105
- name: Check formatting
106106
run: cargo fmt --all -- --check
107107
clippy:
@@ -117,7 +117,7 @@ jobs:
117117
profile: minimal
118118
override: true
119119
components: clippy
120-
- uses: Swatinem/rust-cache@v1
120+
- uses: Swatinem/rust-cache@v2
121121
- uses: actions-rs/clippy-check@v1
122122
with:
123123
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/rust-next.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
toolchain: ${{ matrix.rust }}
2424
profile: minimal
2525
override: true
26-
- uses: Swatinem/rust-cache@v1
26+
- uses: Swatinem/rust-cache@v2
2727
- name: Default features
2828
run: cargo test --workspace
2929
- name: All features
@@ -49,7 +49,7 @@ jobs:
4949
profile: minimal
5050
override: true
5151
components: rustfmt
52-
- uses: Swatinem/rust-cache@v1
52+
- uses: Swatinem/rust-cache@v2
5353
- name: Check formatting
5454
run: cargo fmt --all -- --check
5555
clippy:
@@ -71,7 +71,7 @@ jobs:
7171
profile: minimal
7272
override: true
7373
components: clippy
74-
- uses: Swatinem/rust-cache@v1
74+
- uses: Swatinem/rust-cache@v2
7575
- uses: actions-rs/clippy-check@v1
7676
with:
7777
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)