diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5717be4..f0c335d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,6 @@ jobs: override: true profile: minimal toolchain: ${{ env.RUST_TOOLCHAIN }} - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - name: Publish crates run: nix shell .#cargo-workspaces --command cargo workspaces publish --from-git --yes --skip-published --token ${{ secrets.CARGO_PUBLISH_TOKEN }} diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 84b2363..dc2346c 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,7 +71,7 @@ jobs: toolchain: ${{ env.RUST_TOOLCHAIN }} components: rustfmt, clippy - name: Cache dependencies - uses: Swatinem/rust-cache@v1 + uses: Swatinem/rust-cache@v2 - run: cargo doc coverage: @@ -87,7 +87,7 @@ jobs: override: true toolchain: nightly-2022-01-26 - name: Cache dependencies - uses: Swatinem/rust-cache@v1 + uses: Swatinem/rust-cache@v2 - name: Run cargo-tarpaulin uses: actions-rs/tarpaulin@v0.1