diff --git a/.github/workflows/ci-post-merge.yml b/.github/workflows/ci-post-merge.yml index 1b22c303..20efd568 100644 --- a/.github/workflows/ci-post-merge.yml +++ b/.github/workflows/ci-post-merge.yml @@ -99,10 +99,13 @@ jobs: && RUSTUP_TOOLCHAIN=${{ matrix.version }} cargo ci-test-linux " - - name: Clear the cargo caches - run: | - cargo install cargo-cache --version 0.6.2 --no-default-features --features ci-autoclean - cargo-cache + - name: Install cargo-ci-cache-clean + uses: taiki-e/install-action@v2.23.2 + with: + tool: cargo-ci-cache-clean + + - name: CI cache clean + run: cargo-ci-cache-clean minimal-versions: name: minimal versions diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03625fd3..416bf8d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -115,10 +115,13 @@ jobs: && RUSTUP_TOOLCHAIN=${{ matrix.version.version }} cargo ci-test-linux " - - name: Clear the cargo caches - run: | - cargo install cargo-cache --version 0.6.2 --no-default-features --features ci-autoclean - cargo-cache + - name: Install cargo-ci-cache-clean + uses: taiki-e/install-action@v2.23.2 + with: + tool: cargo-ci-cache-clean + + - name: CI cache clean + run: cargo-ci-cache-clean rustdoc: name: rustdoc