From 4aa05a7441803279ebae42572dcc89891323cd2a Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Wed, 12 Aug 2020 12:36:31 +0200 Subject: [PATCH] Fixes name of pre-commit cache for multiple branches (#10299) --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d7c1b58e0521..9aa4a1ed58d04 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,7 +70,7 @@ jobs: - name: Cache pre-commit env uses: actions/cache@v2 env: - cache-name: cache-pre-commit-no-pylint-v1 + cache-name: cache-pre-commit-master-no-pylint-v1 with: path: ~/.cache/pre-commit key: ${{ env.cache-name }}-${{ github.job }}-${{ hashFiles('.pre-commit-config.yaml') }} @@ -96,7 +96,7 @@ jobs: - name: Cache pre-commit env uses: actions/cache@v2 env: - cache-name: cache-pre-commit-pylint-v1 + cache-name: cache-pre-commit-master-pylint-v1 with: path: ~/.cache/pre-commit key: ${{ env.cache-name }}-${{ github.job }}-${{ hashFiles('.pre-commit-config.yaml') }}