diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ebe86ad..5f0e3eb5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index abb0d252..8f8dbc78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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