💚 fix workflow caching

This commit is contained in:
Félix Voituret
2021-01-08 18:29:32 +01:00
parent f5e0d38ff9
commit c883ee8a8e

View File

@@ -37,9 +37,9 @@ jobs:
id: cache id: cache
with: with:
path: ~/.virtualenvs path: ~/.virtualenvs
key: poetry-${{ hashFiles('**/poetry.lock') }} key: poetry-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
restore-keys: | restore-keys: |
poetry-${{ hashFiles('**/poetry.lock') }} poetry-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install Dependencies - name: Install Dependencies
run: poetry install run: poetry install
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'