From 72876173567d041371809402780cd24818a7f7b1 Mon Sep 17 00:00:00 2001 From: trivernis Date: Tue, 10 Nov 2020 20:26:17 +0100 Subject: [PATCH] Add cache key Signed-off-by: trivernis --- .github/workflows/rust.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 59f4764..9267250 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -22,6 +22,10 @@ jobs: path: | target/**/build target/**/deps + key: ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-build- + ${{ runner.os }}- - name: Build run: cargo build --verbose - name: Run tests