Skip to content

Commit 0673956

Browse files
committed
feat(ci): cache pip requirements
1 parent bf8a06f commit 0673956

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ jobs:
3636
- uses: actions/setup-python@v5
3737
with:
3838
python-version: ${{ matrix.python-version }}
39+
- name: Cache pip
40+
uses: actions/cache@v4
41+
with:
42+
path: ~/.cache/pip
43+
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ matrix.django-version }}
44+
restore-keys: |
45+
${{ runner.os }}-pip-
3946
- run: pip install -e '.[dev]'
4047
- run: pip install "Django==${{ matrix.django-version }}.*"
4148
- run: make test

0 commit comments

Comments
 (0)