1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-20 11:47:46 +00:00

Hash the Cargo.toml instead of the Cargo.lock for cache

We don't commit a .lock file because Physis is a library, so the .toml
is the next best thing.
This commit is contained in:
Joshua Goins 2024-04-28 07:44:16 -04:00
parent addf74a5ce
commit ccf28b3f4c

View file

@ -31,7 +31,7 @@ jobs:
~/.cargo/registry/cache/ ~/.cargo/registry/cache/
~/.cargo/git/db/ ~/.cargo/git/db/
target/ target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt-get update sudo apt-get update