Skip to content

Commit d0259b7

Browse files
chore(deps): update swatinem/rust-cache action to v2
1 parent fd621bf commit d0259b7

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: Configure git
4646
run: |
4747
git config --global user.name "Test User"
@@ -66,7 +66,7 @@ jobs:
6666
toolchain: 1.61.0 # MSRV
6767
profile: minimal
6868
override: true
69-
- uses: Swatinem/rust-cache@v1
69+
- uses: Swatinem/rust-cache@v2
7070
- name: Default features
7171
run: cargo check --workspace --all-targets
7272
- name: All features
@@ -85,7 +85,7 @@ jobs:
8585
toolchain: stable
8686
profile: minimal
8787
override: true
88-
- uses: Swatinem/rust-cache@v1
88+
- uses: Swatinem/rust-cache@v2
8989
- name: Check documentation
9090
env:
9191
RUSTDOCFLAGS: -D warnings
@@ -105,7 +105,7 @@ jobs:
105105
profile: minimal
106106
override: true
107107
components: rustfmt
108-
- uses: Swatinem/rust-cache@v1
108+
- uses: Swatinem/rust-cache@v2
109109
- name: Check formatting
110110
run: cargo fmt --all -- --check
111111
clippy:
@@ -121,7 +121,7 @@ jobs:
121121
profile: minimal
122122
override: true
123123
components: clippy
124-
- uses: Swatinem/rust-cache@v1
124+
- uses: Swatinem/rust-cache@v2
125125
- uses: actions-rs/clippy-check@v1
126126
with:
127127
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: Configure git
2828
run: |
2929
git config --global user.name "Test User"
@@ -53,7 +53,7 @@ jobs:
5353
profile: minimal
5454
override: true
5555
components: rustfmt
56-
- uses: Swatinem/rust-cache@v1
56+
- uses: Swatinem/rust-cache@v2
5757
- name: Check formatting
5858
run: cargo fmt --all -- --check
5959
clippy:
@@ -75,7 +75,7 @@ jobs:
7575
profile: minimal
7676
override: true
7777
components: clippy
78-
- uses: Swatinem/rust-cache@v1
78+
- uses: Swatinem/rust-cache@v2
7979
- uses: actions-rs/clippy-check@v1
8080
with:
8181
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)