Add a version number to cache file to invalidate it

This commit is contained in:
Hugo 2020-03-04 22:16:50 +02:00
parent d367d913c2
commit a0255a61e1

View file

@ -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-