Skip to content

Commit b21841d

Browse files
committed
Enable caching of pip packages in workflow
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 650d498 commit b21841d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
uses: actions/setup-python@v4
3434
with:
3535
python-version: ${{ matrix.python }}
36+
cache: 'pip'
3637

3738
- uses: actions/cache@v3
3839
with:
@@ -60,6 +61,7 @@ jobs:
6061
uses: actions/setup-python@v4
6162
with:
6263
python-version: '3.11'
64+
cache: 'pip'
6365

6466
- name: Install build dependencies
6567
run: |
@@ -90,6 +92,7 @@ jobs:
9092
uses: actions/setup-python@v4
9193
with:
9294
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
95+
cache: 'pip'
9396

9497
- name: Install build dependencies
9598
run: |
@@ -167,6 +170,7 @@ jobs:
167170
uses: actions/setup-python@v4
168171
with:
169172
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
173+
cache: 'pip'
170174

171175
- name: Install build dependencies
172176
if: steps.mike-metadata.outputs.version

0 commit comments

Comments
 (0)