Hash only on Cargo.lock in validation workflow

This commit is contained in:
Joseph Henry 2023-04-26 11:02:50 -07:00
parent 90b5d06a23
commit 7f29fc7799
No known key found for this signature in database
GPG key ID: C45B33FF5EBC9344

View file

@ -31,7 +31,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.toml', '*/Cargo.toml') }}
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: validate-1m-linux