From d28c7db3b386d703264a2d9ab7cf9c59dfd66b7c Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Tue, 26 Dec 2023 03:58:34 +0000 Subject: [PATCH] ci: use cargo-ci-clean-cache --- .github/workflows/ci-post-merge.yml | 11 +++++++---- .github/workflows/ci.yml | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) 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