Add a version number to cache file to invalidate it
This commit is contained in:
parent
d367d913c2
commit
a0255a61e1
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
|||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.cache/pre-commit
|
||||
key: lint-pre-commit-${{ hashFiles('**/.pre-commit-config.yaml') }}
|
||||
key: lint-pre-commit-v1-${{ hashFiles('**/.pre-commit-config.yaml') }}
|
||||
restore-keys: |
|
||||
lint-pre-commit-
|
||||
|
||||
|
|
Loading…
Reference in a new issue