Change cache key to use Cargo.lock

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/2/head
trivernis 4 years ago
parent 6759f42a96
commit 34482d06a8
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -22,11 +22,11 @@ jobs:
path: |
target/**/build
target/**/deps
key: ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }}
target/**/incremental
key: ${{ runner.os }}-build-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }}
${{ runner.os }}-build-${{ hashFiles('Cargo.lock') }}
${{ runner.os }}-build-
${{ runner.os }}-
- name: Build
run: cargo build --verbose
- name: Run tests

Loading…
Cancel
Save