ci: use pipfile.lock as cache key

This commit is contained in:
Felix Spöttel
2022-07-01 17:05:43 +02:00
parent 1cb5541baa
commit eaa4022b70

View File

@@ -30,8 +30,7 @@ runs:
id: virtualenv-cache
with:
path: .venv
key: ${{ inputs.cache-prefix }}-${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('requirements.txt', 'dev-requirements.txt') }}
key: ${{ inputs.cache-prefix }}-${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('Pipfile.lock') }}
- if: steps.virtualenv-cache.outputs.cache-hit != 'true'
shell: bash
run: |