16
16
pre-commit-key : ${{ steps.generate-pre-commit-key.outputs.key }}
17
17
steps :
18
18
- name : Check out code from GitHub
19
- uses : actions/checkout@v2.4.0
19
+ uses : actions/checkout@v3
20
20
with :
21
21
fetch-depth : 0
22
22
- name : Set up Python ${{ env.DEFAULT_PYTHON }}
32
32
}}"
33
33
- name : Restore Python virtual environment
34
34
id : cache-venv
35
- uses : actions/cache@v2.1.7
35
+ uses : actions/cache@v3
36
36
with :
37
37
path : venv
38
38
key : >-
54
54
hashFiles('.pre-commit-config.yaml') }}"
55
55
- name : Restore pre-commit environment
56
56
id : cache-precommit
57
- uses : actions/cache@v2.1.7
57
+ uses : actions/cache@v3
58
58
with :
59
59
path : ${{ env.PRE_COMMIT_CACHE }}
60
60
key : >-
@@ -72,12 +72,12 @@ jobs:
72
72
runs-on : ubuntu-latest
73
73
strategy :
74
74
matrix :
75
- python-version : [3.7, 3.8, 3.9 , "3.10 ", "3.11 "]
75
+ python-version : [3.9, "3.10", "3.11" , "3.12 ", "3.13 "]
76
76
outputs :
77
77
python-key : ${{ steps.generate-python-key.outputs.key }}
78
78
steps :
79
79
- name : Check out code from GitHub
80
- uses : actions/checkout@v2.4.0
80
+ uses : actions/checkout@v3
81
81
with :
82
82
fetch-depth : 0
83
83
- name : Set up Python ${{ matrix.python-version }}
93
93
}}"
94
94
- name : Restore Python virtual environment
95
95
id : cache-venv
96
- uses : actions/cache@v2.1.7
96
+ uses : actions/cache@v3
97
97
with :
98
98
path : venv
99
99
key : >-
@@ -116,7 +116,7 @@ jobs:
116
116
strategy :
117
117
fail-fast : false
118
118
matrix :
119
- python-version : [3.7, 3.8, 3.9 , "3.10 ", "3.11 "]
119
+ python-version : [3.9, "3.10", "3.11" , "3.12 ", "3.13 "]
120
120
steps :
121
121
- name : Check out code from GitHub
122
122
@@ -127,7 +127,7 @@ jobs:
127
127
python-version : ${{ matrix.python-version }}
128
128
- name : Restore Python virtual environment
129
129
id : cache-venv
130
- uses : actions/cache@v2.1.7
130
+ uses : actions/cache@v3
131
131
with :
132
132
path : venv
133
133
key :
@@ -143,7 +143,7 @@ jobs:
143
143
. venv/bin/activate
144
144
pytest --cov --cov-report= tests/
145
145
- name : Upload coverage artifact
146
- uses : actions/upload-artifact@v2.3.1
146
+ uses : actions/upload-artifact@v4
147
147
with :
148
148
name : coverage-${{ matrix.python-version }}
149
149
path : .coverage
@@ -154,20 +154,20 @@ jobs:
154
154
needs : ["prepare-tests-linux", "pytest-linux"]
155
155
strategy :
156
156
matrix :
157
- python-version : [3.8 ]
157
+ python-version : ["3.13" ]
158
158
env :
159
159
COVERAGERC_FILE : .coveragerc
160
160
steps :
161
161
- name : Check out code from GitHub
162
- uses : actions/checkout@v2.4.0
162
+ uses : actions/checkout@v3
163
163
- name : Set up Python ${{ matrix.python-version }}
164
164
id : python
165
165
uses : actions/setup-python@v4
166
166
with :
167
167
python-version : ${{ matrix.python-version }}
168
168
- name : Restore Python virtual environment
169
169
id : cache-venv
170
- uses : actions/cache@v2.1.7
170
+ uses : actions/cache@v3
171
171
with :
172
172
path : venv
173
173
key :
@@ -197,12 +197,12 @@ jobs:
197
197
runs-on : windows-latest
198
198
strategy :
199
199
matrix :
200
- python-version : [3.7, 3.8, 3.9 , "3.10 ", "3.11 "]
200
+ python-version : [3.9, "3.10", "3.11" , "3.12 ", "3.13 "]
201
201
outputs :
202
202
python-key : ${{ steps.generate-python-key.outputs.key }}
203
203
steps :
204
204
- name : Check out code from GitHub
205
- uses : actions/checkout@v2.4.0
205
+ uses : actions/checkout@v3
206
206
with :
207
207
fetch-depth : 0
208
208
- name : Set up Python ${{ matrix.python-version }}
@@ -218,7 +218,7 @@ jobs:
218
218
}}"
219
219
- name : Restore Python virtual environment
220
220
id : cache-venv
221
- uses : actions/cache@v2.1.7
221
+ uses : actions/cache@v3
222
222
with :
223
223
path : venv
224
224
key : >-
@@ -241,22 +241,22 @@ jobs:
241
241
strategy :
242
242
fail-fast : false
243
243
matrix :
244
- python-version : [3.7, 3.8, 3.9 , "3.10 ", "3.11 "]
244
+ python-version : [3.9, "3.10", "3.11" , "3.12 ", "3.13 "]
245
245
steps :
246
246
- name : Set temp directory
247
247
run : echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
248
248
# Workaround to set correct temp directory on Windows
249
249
# https://github.com/actions/virtual-environments/issues/712
250
250
- name : Check out code from GitHub
251
- uses : actions/checkout@v2.4.0
251
+ uses : actions/checkout@v3
252
252
- name : Set up Python ${{ matrix.python-version }}
253
253
id : python
254
254
uses : actions/setup-python@v4
255
255
with :
256
256
python-version : ${{ matrix.python-version }}
257
257
- name : Restore Python virtual environment
258
258
id : cache-venv
259
- uses : actions/cache@v2.1.7
259
+ uses : actions/cache@v3
260
260
with :
261
261
path : venv
262
262
key :
@@ -277,12 +277,12 @@ jobs:
277
277
runs-on : ubuntu-latest
278
278
strategy :
279
279
matrix :
280
- python-version : ["pypy3.7", "pypy3.8", "pypy3.9 "]
280
+ python-version : ["pypy3.10", "pypy3.11 "]
281
281
outputs :
282
282
python-key : ${{ steps.generate-python-key.outputs.key }}
283
283
steps :
284
284
- name : Check out code from GitHub
285
- uses : actions/checkout@v2.4.0
285
+ uses : actions/checkout@v3
286
286
with :
287
287
fetch-depth : 0
288
288
- name : Set up Python ${{ matrix.python-version }}
@@ -298,7 +298,7 @@ jobs:
298
298
}}"
299
299
- name : Restore Python virtual environment
300
300
id : cache-venv
301
- uses : actions/cache@v2.1.7
301
+ uses : actions/cache@v3
302
302
with :
303
303
path : venv
304
304
key : >-
@@ -321,18 +321,18 @@ jobs:
321
321
strategy :
322
322
fail-fast : false
323
323
matrix :
324
- python-version : ["pypy3.7", "pypy3.8", "pypy3.9 "]
324
+ python-version : ["pypy3.10", "pypy3.11 "]
325
325
steps :
326
326
- name : Check out code from GitHub
327
- uses : actions/checkout@v2.4.0
327
+ uses : actions/checkout@v3
328
328
- name : Set up Python ${{ matrix.python-version }}
329
329
id : python
330
330
uses : actions/setup-python@v4
331
331
with :
332
332
python-version : ${{ matrix.python-version }}
333
333
- name : Restore Python virtual environment
334
334
id : cache-venv
335
- uses : actions/cache@v2.1.7
335
+ uses : actions/cache@v3
336
336
with :
337
337
path : venv
338
338
key :
0 commit comments