From c7939cdc5c0dea97cf644a8b24f0023f140190dc Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 4 Nov 2020 21:02:10 +1000 Subject: [PATCH] hash the lock files GitHub's cache is not a great fit for Bazel, but this will do for now --- .github/workflows/checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index ce3736c59..0e2a3e677 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -127,7 +127,7 @@ jobs: uses: actions/cache@v2 with: path: ${{ matrix.BAZEL_ROOT }} - key: ${{ runner.os }}-bazout-1 + key: ${{ runner.os }}-bazout-1-${{ hashFiles('ts/yarn.lock') }}-${{ hashFiles('pip/requirements.txt') }}-${{ hashFiles('cargo/Cargo.lock') }} ################################ # Linux