Revert "Remove cargo caching in CI"

This reverts commit 072c62e55d.
This commit is contained in:
Oliver Hamlet
2025-06-07 13:09:22 +01:00
parent c8adf5d702
commit dde8942c22
2 changed files with 33 additions and 0 deletions
+22
View File
@@ -22,6 +22,17 @@ jobs:
with:
fetch-depth: 0
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Get descriptive libloot version
id: get-libloot-version
shell: bash
@@ -139,6 +150,17 @@ jobs:
with:
fetch-depth: 0
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install Rust i686-pc-windows-msvc target
run: rustup target add i686-pc-windows-msvc
if: matrix.platform == 'Win32'
+11
View File
@@ -49,6 +49,17 @@ jobs:
with:
fetch-depth: 0
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install Rust i686-pc-windows-msvc target
run: rustup target add i686-pc-windows-msvc
if: matrix.platform == 'Win32'