Skip to content

Commit aa4dca2

Browse files
committed
CI: enable pip cache
Use actions/setup-python's pip cache support on workflow jobs that install dependencies.
1 parent e6cb496 commit aa4dca2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/integration-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
uses: actions/setup-python@v5
6060
with:
6161
python-version: ${{ matrix.config.python }}
62+
cache: "pip"
6263
- name: Install tox
6364
run: |
6465
set -x

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
uses: actions/setup-python@v5
5454
with:
5555
python-version: ${{ matrix.tox.python.spec }}
56+
cache: "pip"
5657
- name: Setup default Python
5758
# Change default Python version back to something consistent
5859
# for installing/running tox

0 commit comments

Comments
 (0)