Add a version number to cache file to invalidate it

This commit is contained in:
Hugo 2020-03-04 22:18:39 +02:00
parent a0255a61e1
commit c8e3162b9d

View file

@ -26,7 +26,7 @@ jobs:
path: ~/.cache/pre-commit
key: lint-pre-commit-v1-${{ hashFiles('**/.pre-commit-config.yaml') }}
restore-keys: |
lint-pre-commit-
lint-pre-commit-v1-
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1