From 4b7275a3d7eb5b1282c9fce5f9cf9dd5cee4f2eb Mon Sep 17 00:00:00 2001 From: Sebastiaan Zeeff Date: Tue, 17 Nov 2020 20:34:48 +0100 Subject: Add versioning to cache key --- .github/workflows/lint-test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index d4cdca8..e0c846b 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -35,10 +35,10 @@ jobs: uses: actions/cache@v2 with: path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.ref }}-${{ github.sha }} + key: ${{ runner.os }}-0-buildx-${{ github.ref }}-${{ github.sha }} restore-keys: | - ${{ runner.os }}-buildx-${{ github.ref }}- - ${{ runner.os }}-buildx- + ${{ runner.os }}-0-buildx-${{ github.ref }}- + ${{ runner.os }}-0-buildx- - name: Build image for linting and testing uses: docker/build-push-action@v2 -- cgit v1.2.3