Update CI Cargo caching config

The target directory doesn't exist, so there's no point listing it. The two files added are used by "cargo install" to track what's been installed.
This commit is contained in:
Oliver Hamlet
2025-06-07 13:40:31 +01:00
parent dde8942c22
commit ec93abaaf4
2 changed files with 9 additions and 6 deletions
+6 -4
View File
@@ -30,8 +30,9 @@ jobs:
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
~/.cargo/.crates.toml
~/.cargo/.crates2.json
key: ${{ runner.os }}-cargo-cbindgen-${{ env.CBINDGEN_VERSION }}
- name: Get descriptive libloot version
id: get-libloot-version
@@ -158,8 +159,9 @@ jobs:
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
~/.cargo/.crates.toml
~/.cargo/.crates2.json
key: ${{ runner.os }}-cargo-cbindgen-${{ env.CBINDGEN_VERSION }}
- name: Install Rust i686-pc-windows-msvc target
run: rustup target add i686-pc-windows-msvc
+3 -2
View File
@@ -57,8 +57,9 @@ jobs:
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
~/.cargo/.crates.toml
~/.cargo/.crates2.json
key: ${{ runner.os }}-cargo-cbindgen-${{ env.CBINDGEN_VERSION }}
- name: Install Rust i686-pc-windows-msvc target
run: rustup target add i686-pc-windows-msvc