From f3a29f6ddf2b450aa7c9c7cf75d25a8f047713f6 Mon Sep 17 00:00:00 2001 From: Changyuan Lyu Date: Thu, 29 Jan 2026 16:29:57 -0800 Subject: [PATCH] ci(rust): remove unnecessary caches Remove the ~/.rustup cache, as caching the toolchain is ineffective. Remove tarpaulin-related caches introduced in d49daec05b82 ("ci: collect and upload test coverage"), as tarpaulin is no longer used for collecting test coverage. Signed-off-by: Changyuan Lyu --- .github/workflows/rust.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4f287339..1e4d8d10 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -36,16 +36,10 @@ jobs: with: path: | ~/.cargo/bin/ - ~/.cargo/.crates.toml - ~/.cargo/.crates2.json ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ - ~/.rustup/settings.toml - ~/.rustup/toolchains/ - ~/.rustup/update-hashes/ target/ - target/tarpaulin/ key: ${{ matrix.target.name }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Install nightly Rust uses: dtolnay/rust-toolchain@nightly