We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c4a5ff commit 488d713Copy full SHA for 488d713
.github/workflows/pytest.yml
@@ -51,14 +51,8 @@ jobs:
51
# Default pip cache directory on Linux runners
52
path: ~/.cache/pip
53
54
- # Cache key changes when:
55
- # - OS changes
56
- # - Python version changes
57
- # - dependencies change
58
- key: >
59
- ${{ runner.os }}-pip-
60
- ${{ matrix.python-version }}-
61
- ${{ hashFiles('requirements.txt') }}
+ # Cache key, depends on OS, Python version, dependencies change
+ key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}
62
63
# Fallback cache if exact key is not found
64
restore-keys: |
0 commit comments