Skip to content

Commit 488d713

Browse files
committed
git workflow WIP
1 parent 7c4a5ff commit 488d713

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/pytest.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,8 @@ jobs:
5151
# Default pip cache directory on Linux runners
5252
path: ~/.cache/pip
5353

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') }}
54+
# Cache key, depends on OS, Python version, dependencies change
55+
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}
6256

6357
# Fallback cache if exact key is not found
6458
restore-keys: |

0 commit comments

Comments
 (0)