diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index 26d98901b..c487249bf 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -156,10 +156,10 @@ jobs: - name: Rust Cache uses: Swatinem/rust-cache@v2 with: - workspaces: src-tauri cache-all-crates: true save-if: ${{ github.ref == 'refs/heads/dev' }} - key: ${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('**Cargo.lock') }} + shared-key: v0-rust-${{ runner.os }}-${{ matrix.target }} + key: ${{ hashFiles('**/Cargo.lock') }} - name: Install dependencies (ubuntu only) if: matrix.os == 'ubuntu-22.04' @@ -264,10 +264,10 @@ jobs: - name: Rust Cache uses: Swatinem/rust-cache@v2 with: - workspaces: src-tauri cache-all-crates: true save-if: ${{ github.ref == 'refs/heads/dev' }} - key: ${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('**Cargo.lock') }} + shared-key: v0-rust-${{ runner.os }}-${{ matrix.target }} + key: ${{ hashFiles('**/Cargo.lock') }} - name: Install pnpm uses: pnpm/action-setup@v4 @@ -411,10 +411,10 @@ jobs: - name: Rust Cache uses: Swatinem/rust-cache@v2 with: - workspaces: src-tauri cache-all-crates: true save-if: ${{ github.ref == 'refs/heads/dev' }} - key: ${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('**Cargo.lock') }} + shared-key: v0-rust-${{ runner.os }}-${{ matrix.target }} + key: ${{ hashFiles('**/Cargo.lock') }} - name: Install pnpm uses: pnpm/action-setup@v4 diff --git a/.github/workflows/lint-clippy.yml b/.github/workflows/lint-clippy.yml index 251b326e5..f29280987 100644 --- a/.github/workflows/lint-clippy.yml +++ b/.github/workflows/lint-clippy.yml @@ -58,10 +58,10 @@ jobs: - name: Rust Cache uses: Swatinem/rust-cache@v2 with: - workspaces: src-tauri cache-all-crates: true save-if: false - key: ${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('**Cargo.lock') }} + shared-key: v0-rust-${{ runner.os }}-${{ matrix.target }} + key: ${{ hashFiles('**/Cargo.lock') }} - name: Install dependencies (ubuntu only) if: matrix.os == 'ubuntu-22.04'