diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 53c8e24..02ddfa3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,6 @@ jobs: override: true profile: minimal toolchain: ${{ env.RUST_TOOLCHAIN }} - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - name: Publish crates run: cargo publish --token ${{ secrets.CARGO_PUBLISH_TOKEN }} diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 6529edb..94495cf 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -23,7 +23,7 @@ jobs: profile: minimal toolchain: ${{ env.RUST_TOOLCHAIN }} components: rustfmt, clippy - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - run: cargo fmt -- --check - run: cargo clippy --all-targets -- --deny=warnings @@ -40,7 +40,7 @@ jobs: toolchain: ${{ env.RUST_TOOLCHAIN }} components: rustfmt, clippy - name: Cache dependencies - uses: Swatinem/rust-cache@v1 + uses: Swatinem/rust-cache@v2 - run: cargo check test: @@ -55,7 +55,7 @@ jobs: profile: minimal toolchain: ${{ env.RUST_TOOLCHAIN }} components: rustfmt, clippy - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - run: cargo test doc: @@ -71,5 +71,5 @@ jobs: toolchain: ${{ env.RUST_TOOLCHAIN }} components: rustfmt, clippy - name: Cache dependencies - uses: Swatinem/rust-cache@v1 + uses: Swatinem/rust-cache@v2 - run: cargo doc