Skip to content

Commit ee7d53e

Browse files
ci: enable caching of python setup
1 parent 212cae3 commit ee7d53e

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
uses: actions/setup-python@v5
1919
with:
2020
python-version: '3.12'
21+
cache: 'pip'
2122

2223
- name: Install ruff
2324
run: pip install ruff

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
uses: actions/setup-python@v5
3030
with:
3131
python-version: ${{ matrix.python-version }}
32+
cache: 'pip'
3233

3334
- name: Linux
3435
run: |
@@ -64,6 +65,7 @@ jobs:
6465
uses: actions/setup-python@v5
6566
with:
6667
python-version: '3.13'
68+
cache: 'pip'
6769

6870
- name: macOS
6971
run: |

.github/workflows/wheels.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- uses: actions/setup-python@v5
2929
with:
3030
python-version: '3.11'
31+
cache: 'pip'
3132

3233
- name: Install cibuildwheel
3334
run: python -m pip install cibuildwheel==2.23.1
@@ -55,6 +56,7 @@ jobs:
5556
- uses: actions/setup-python@v5
5657
with:
5758
python-version: '3.11'
59+
cache: 'pip'
5860

5961
- uses: docker/setup-qemu-action@v3
6062
with:

0 commit comments

Comments
 (0)