Skip to content

Commit c1ac82f

Browse files
committed
build: use new setup-python caching
1 parent ec0d410 commit c1ac82f

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

.github/workflows/coverage.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ jobs:
6060
uses: "actions/setup-python@v2"
6161
with:
6262
python-version: "${{ matrix.python-version }}"
63+
cache: pip
64+
cache-dependency-path: 'requirements/*.pip'
6365

6466
- name: "Install dependencies"
6567
run: |
@@ -97,6 +99,8 @@ jobs:
9799
uses: "actions/setup-python@v2"
98100
with:
99101
python-version: "3.8"
102+
cache: pip
103+
cache-dependency-path: 'requirements/*.pip'
100104

101105
- name: "Install dependencies"
102106
run: |

.github/workflows/kit.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ jobs:
111111
uses: actions/setup-python@v2
112112
with:
113113
python-version: "3.8"
114+
cache: pip
115+
cache-dependency-path: 'requirements/*.pip'
114116

115117
- name: "Install tools"
116118
run: |
@@ -153,6 +155,8 @@ jobs:
153155
uses: actions/setup-python@v2
154156
with:
155157
python-version: "3.8"
158+
cache: pip
159+
cache-dependency-path: 'requirements/*.pip'
156160

157161
- name: "Install tools"
158162
run: |
@@ -183,6 +187,8 @@ jobs:
183187
uses: actions/setup-python@v2
184188
with:
185189
python-version: "pypy3"
190+
cache: pip
191+
cache-dependency-path: 'requirements/*.pip'
186192

187193
- name: "Install requirements"
188194
run: |
@@ -226,6 +232,8 @@ jobs:
226232
uses: actions/setup-python@v2
227233
with:
228234
python-version: ${{ matrix.py }}
235+
cache: pip
236+
cache-dependency-path: 'requirements/*.pip'
229237

230238
- name: "Install wheel tools"
231239
run: |

.github/workflows/quality.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
uses: "actions/setup-python@v2"
3535
with:
3636
python-version: "3.8"
37+
cache: pip
38+
cache-dependency-path: 'requirements/*.pip'
3739

3840
- name: "Install dependencies"
3941
run: |
@@ -58,6 +60,8 @@ jobs:
5860
uses: "actions/setup-python@v2"
5961
with:
6062
python-version: "3.8"
63+
cache: pip
64+
cache-dependency-path: 'requirements/*.pip'
6165

6266
- name: "Install dependencies"
6367
run: |

.github/workflows/testsuite.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ jobs:
5454
uses: "actions/setup-python@v2"
5555
with:
5656
python-version: "${{ matrix.python-version }}"
57+
cache: pip
58+
cache-dependency-path: 'requirements/*.pip'
5759

5860
- name: "Install dependencies"
5961
run: |

0 commit comments

Comments
 (0)