Skip to content

Commit 202de42

Browse files
committed
feedback: hash deps in pip cache
1 parent 82379ef commit 202de42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
uses: actions/cache@v4
4141
with:
4242
path: ~/.cache/pip
43-
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ matrix.django-version }}
43+
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ matrix.django-version }}-${{ hashFiles('pyproject.toml') }}
4444
restore-keys: |
4545
${{ runner.os }}-pip-
4646
- run: pip install -e '.[dev]' "Django==${{ matrix.django-version }}.*"

0 commit comments

Comments
 (0)