Skip to content

Commit 7b27a16

Browse files
committed
More specific cache key
1 parent 35aafd5 commit 7b27a16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
uses: actions/cache@v2
2626
with:
2727
path: ~/.cache/pip
28-
key: pip-python${{ matrix.python-version }}-${{ hashFiles('requirements-dev.txt') }}
28+
# Cache based on OS, Python version, and dependency hash
29+
key: pip-${{ runner.os }}-python${{ matrix.python-version }}-${{ hashFiles('requirements-dev.txt') }}
2930

3031
- name: Execute linters and test suites
3132
run: ./scripts/cibuild

0 commit comments

Comments
 (0)