diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b35040d..39e6d3fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,17 @@ jobs: with: components: rustfmt, clippy, llvm-tools-preview + - name: Cache Rust dependencies + uses: actions/cache@v4 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + src-tauri/target + key: ${{ runner.os }}-${{ runner.name }}-cargo-${{ hashFiles('src-tauri/Cargo.lock') }} + restore-keys: | + ${{ runner.os }}-${{ runner.name }}-cargo- + - name: Install cargo-llvm-cov uses: taiki-e/install-action@cargo-llvm-cov