fix(ci): cache key should be the singla Cargo.lock

This commit is contained in:
Anand Balakrishnan 2023-10-05 16:53:54 -07:00
parent c8b3a08619
commit 1a4d8cc845
No known key found for this signature in database

View file

@ -28,7 +28,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-${{ matrix.target }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-${{ matrix.target }}-cargo-${{ hashFiles('Cargo.lock') }}
- uses: mamba-org/setup-micromamba@v1
with:
environment-name: ci
@ -72,7 +72,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-${{ matrix.target }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-${{ matrix.target }}-cargo-${{ hashFiles('Cargo.lock') }}
- uses: mamba-org/setup-micromamba@v1
with:
environment-name: ci
@ -115,7 +115,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-${{ matrix.target }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-${{ matrix.target }}-cargo-${{ hashFiles('Cargo.lock') }}
- uses: mamba-org/setup-micromamba@v1
with:
environment-name: ci