Skip to content

Commit

Permalink
Fixes name of pre-commit cache for multiple branches (apache#10299)
Browse files Browse the repository at this point in the history
(cherry-picked from commit 4aa05a7)
  • Loading branch information
potiuk authored and Chris Fei committed Mar 5, 2021
1 parent 0fb6708 commit 92a2dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- name: Cache pre-commit env
uses: actions/cache@v2
env:
cache-name: cache-pre-commit-v2
cache-name: cache-pre-commit-v1-10-test-v2
with:
path: ~/.cache/pre-commit
key: ${{ env.cache-name }}-${{ github.job }}-${{ hashFiles('.pre-commit-config.yaml') }}
Expand Down

0 comments on commit 92a2dd2

Please sign in to comment.