1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-20 03:37:47 +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/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
- name: Install dependencies
run: |
sudo apt-get update