diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b2cd51..fce89a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: toolchain: ${{ matrix.rust }} profile: minimal override: true - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - name: Build run: cargo test --no-run --workspace --all-features - name: Default features @@ -62,7 +62,7 @@ jobs: toolchain: 1.60.0 # MSRV profile: minimal override: true - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - name: Default features run: cargo check --workspace --all-targets - name: All features @@ -81,7 +81,7 @@ jobs: toolchain: stable profile: minimal override: true - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - name: Check documentation env: RUSTDOCFLAGS: -D warnings @@ -101,7 +101,7 @@ jobs: profile: minimal override: true components: rustfmt - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - name: Check formatting run: cargo fmt --all -- --check clippy: @@ -117,7 +117,7 @@ jobs: profile: minimal override: true components: clippy - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - uses: actions-rs/clippy-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/rust-next.yml b/.github/workflows/rust-next.yml index a84bf3d..c7fe9b4 100644 --- a/.github/workflows/rust-next.yml +++ b/.github/workflows/rust-next.yml @@ -23,7 +23,7 @@ jobs: toolchain: ${{ matrix.rust }} profile: minimal override: true - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - name: Default features run: cargo test --workspace - name: All features @@ -49,7 +49,7 @@ jobs: profile: minimal override: true components: rustfmt - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - name: Check formatting run: cargo fmt --all -- --check clippy: @@ -71,7 +71,7 @@ jobs: profile: minimal override: true components: clippy - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - uses: actions-rs/clippy-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }}