33
33
- uses : actions/checkout@v4
34
34
35
35
- name : Set up Python ${{ matrix.python-version }}
36
- uses : actions/setup-python@v4
36
+ uses : actions/setup-python@v5
37
37
with :
38
38
python-version : ${{ matrix.python-version }}
39
39
allow-prereleases : true
44
44
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
45
45
46
46
- name : Cache
47
- uses : actions/cache@v3
47
+ uses : actions/cache@v4
48
48
with :
49
49
path : ${{ steps.pip-cache.outputs.dir }}
50
50
key :
67
67
DB_PORT : 3306
68
68
69
69
- name : Upload coverage data
70
- uses : actions/upload-artifact@v3
70
+ uses : actions/upload-artifact@v4
71
71
with :
72
72
name : coverage-data
73
73
path : " .coverage.*"
@@ -108,7 +108,7 @@ jobs:
108
108
- uses : actions/checkout@v4
109
109
110
110
- name : Set up Python ${{ matrix.python-version }}
111
- uses : actions/setup-python@v4
111
+ uses : actions/setup-python@v5
112
112
with :
113
113
python-version : ${{ matrix.python-version }}
114
114
allow-prereleases : true
@@ -119,7 +119,7 @@ jobs:
119
119
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
120
120
121
121
- name : Cache
122
- uses : actions/cache@v3
122
+ uses : actions/cache@v4
123
123
with :
124
124
path : ${{ steps.pip-cache.outputs.dir }}
125
125
key :
@@ -145,7 +145,7 @@ jobs:
145
145
DB_PORT : 5432
146
146
147
147
- name : Upload coverage data
148
- uses : actions/upload-artifact@v3
148
+ uses : actions/upload-artifact@v4
149
149
with :
150
150
name : coverage-data
151
151
path : " .coverage.*"
@@ -162,7 +162,7 @@ jobs:
162
162
- uses : actions/checkout@v4
163
163
164
164
- name : Set up Python ${{ matrix.python-version }}
165
- uses : actions/setup-python@v4
165
+ uses : actions/setup-python@v5
166
166
with :
167
167
python-version : ${{ matrix.python-version }}
168
168
allow-prereleases : true
@@ -173,7 +173,7 @@ jobs:
173
173
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
174
174
175
175
- name : Cache
176
- uses : actions/cache@v3
176
+ uses : actions/cache@v4
177
177
with :
178
178
path : ${{ steps.pip-cache.outputs.dir }}
179
179
key :
@@ -193,7 +193,7 @@ jobs:
193
193
DB_NAME : " :memory:"
194
194
195
195
- name : Upload coverage data
196
- uses : actions/upload-artifact@v3
196
+ uses : actions/upload-artifact@v4
197
197
with :
198
198
name : coverage-data
199
199
path : " .coverage.*"
@@ -204,15 +204,15 @@ jobs:
204
204
needs : [sqlite, mysql, postgres]
205
205
steps :
206
206
- uses : actions/checkout@v4
207
- - uses : actions/setup-python@v4
207
+ - uses : actions/setup-python@v5
208
208
with :
209
209
# Use latest, so it understands all syntax.
210
210
python-version : " 3.11"
211
211
212
212
- run : python -m pip install --upgrade coverage[toml]
213
213
214
214
- name : Download coverage data.
215
- uses : actions/download-artifact@v3
215
+ uses : actions/download-artifact@v4
216
216
with :
217
217
name : coverage-data
218
218
@@ -223,7 +223,7 @@ jobs:
223
223
python -m coverage report
224
224
225
225
- name : Upload HTML report if check failed.
226
- uses : actions/upload-artifact@v3
226
+ uses : actions/upload-artifact@v4
227
227
with :
228
228
name : html-report
229
229
path : htmlcov
@@ -238,7 +238,7 @@ jobs:
238
238
- uses : actions/checkout@v4
239
239
240
240
- name : Set up Python ${{ matrix.python-version }}
241
- uses : actions/setup-python@v4
241
+ uses : actions/setup-python@v5
242
242
with :
243
243
python-version : 3.8
244
244
@@ -248,7 +248,7 @@ jobs:
248
248
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
249
249
250
250
- name : Cache
251
- uses : actions/cache@v3
251
+ uses : actions/cache@v4
252
252
with :
253
253
path : ${{ steps.pip-cache.outputs.dir }}
254
254
key :
0 commit comments