Skip to content

Commit

Permalink
Upgrade Swatinem/rust-cache GitHub action to v2 version (#45)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Nov 18, 2022
1 parent 1e922ea commit 6241d64
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
toolchain: ${{ env.RUST_VER }}
components: clippy
- run: rustup default ${{ env.RUST_VER }}
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
if: ${{ env.CACHE == 'true' }}

- run: make cargo.lint
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
with:
toolchain: nightly
components: rust-src
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
if: ${{ env.CACHE == 'true' }}

- run: cargo install cargo-careful
Expand All @@ -132,7 +132,7 @@ jobs:
with:
toolchain: ${{ env.RUST_VER }}
- run: rustup default ${{ env.RUST_VER }}
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
if: ${{ env.CACHE == 'true' }}
- uses: satackey/action-docker-layer-caching@v0.0.11
with:
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
- run: rustup default
${{ (matrix.toolchain == 'stable' && env.RUST_VER)
|| matrix.toolchain }}
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
if: ${{ env.CACHE == 'true' }}

- run: cargo install cargo-careful
Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:
with:
toolchain: ${{ env.RUST_VER }}
- run: rustup default ${{ env.RUST_VER }}
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
if: ${{ env.CACHE == 'true' }}

- run: make cargo.doc private=yes open=no
Expand Down

0 comments on commit 6241d64

Please sign in to comment.