@@ -24,10 +24,10 @@ jobs:
24
24
timeout-minutes : 20
25
25
steps :
26
26
- name : Check out code from GitHub
27
- uses : actions/checkout@v3.5.3
27
+ uses : actions/checkout@v4.0.0
28
28
- name : Set up Python ${{ env.DEFAULT_PYTHON }}
29
29
id : python
30
- uses : actions/setup-python@v4.6.1
30
+ uses : actions/setup-python@v4.7.0
31
31
with :
32
32
python-version : ${{ env.DEFAULT_PYTHON }}
33
33
check-latest : true
39
39
'requirements_full.txt', 'requirements_minimal.txt') }}" >> $GITHUB_OUTPUT
40
40
- name : Restore Python virtual environment
41
41
id : cache-venv
42
-
42
+
43
43
with :
44
44
path : venv
45
45
key : >-
59
59
hashFiles('.pre-commit-config.yaml') }}" >> $GITHUB_OUTPUT
60
60
- name : Restore pre-commit environment
61
61
id : cache-precommit
62
-
62
+
63
63
with :
64
64
path : ${{ env.PRE_COMMIT_CACHE }}
65
65
key : >-
@@ -81,15 +81,15 @@ jobs:
81
81
strategy :
82
82
fail-fast : false
83
83
matrix :
84
- python-version : [3.8, 3.9, "3.10", "3.11"]
84
+ python-version : [3.8, 3.9, "3.10", "3.11", "3.12-dev" ]
85
85
outputs :
86
86
python-key : ${{ steps.generate-python-key.outputs.key }}
87
87
steps :
88
88
- name : Check out code from GitHub
89
- uses : actions/checkout@v3.5.3
89
+ uses : actions/checkout@v4.0.0
90
90
- name : Set up Python ${{ matrix.python-version }}
91
91
id : python
92
- uses : actions/setup-python@v4.6.1
92
+ uses : actions/setup-python@v4.7.0
93
93
with :
94
94
python-version : ${{ matrix.python-version }}
95
95
check-latest : true
@@ -106,7 +106,7 @@ jobs:
106
106
'requirements_full.txt', 'requirements_minimal.txt') }}" >> $GITHUB_OUTPUT
107
107
- name : Restore Python virtual environment
108
108
id : cache-venv
109
-
109
+
110
110
with :
111
111
path : venv
112
112
key : >-
@@ -125,7 +125,7 @@ jobs:
125
125
. venv/bin/activate
126
126
pytest --cov
127
127
- name : Upload coverage artifact
128
-
128
+
129
129
with :
130
130
name : coverage-linux-${{ matrix.python-version }}
131
131
path : .coverage
@@ -138,17 +138,17 @@ jobs:
138
138
strategy :
139
139
fail-fast : false
140
140
matrix :
141
- python-version : [3.8, 3.9, "3.10", "3.11"]
141
+ python-version : [3.8, 3.9, "3.10", "3.11", "3.12-dev" ]
142
142
steps :
143
143
- name : Set temp directory
144
144
run : echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
145
145
# Workaround to set correct temp directory on Windows
146
146
# https://github.com/actions/virtual-environments/issues/712
147
147
- name : Check out code from GitHub
148
- uses : actions/checkout@v3.5.3
148
+ uses : actions/checkout@v4.0.0
149
149
- name : Set up Python ${{ matrix.python-version }}
150
150
id : python
151
- uses : actions/setup-python@v4.6.1
151
+ uses : actions/setup-python@v4.7.0
152
152
with :
153
153
python-version : ${{ matrix.python-version }}
154
154
check-latest : true
@@ -160,7 +160,7 @@ jobs:
160
160
'requirements_full.txt', 'requirements_minimal.txt') }}" >> $GITHUB_OUTPUT
161
161
- name : Restore Python virtual environment
162
162
id : cache-venv
163
-
163
+
164
164
with :
165
165
path : venv
166
166
key : >-
@@ -179,7 +179,7 @@ jobs:
179
179
. venv\\Scripts\\activate
180
180
pytest --cov
181
181
- name : Upload coverage artifact
182
-
182
+
183
183
with :
184
184
name : coverage-windows-${{ matrix.python-version }}
185
185
path : .coverage
@@ -195,10 +195,10 @@ jobs:
195
195
python-version : ["pypy3.8", "pypy3.10"]
196
196
steps :
197
197
- name : Check out code from GitHub
198
- uses : actions/checkout@v3.5.3
198
+ uses : actions/checkout@v4.0.0
199
199
- name : Set up Python ${{ matrix.python-version }}
200
200
id : python
201
- uses : actions/setup-python@v4.6.1
201
+ uses : actions/setup-python@v4.7.0
202
202
with :
203
203
python-version : ${{ matrix.python-version }}
204
204
check-latest : true
@@ -210,7 +210,7 @@ jobs:
210
210
}}" >> $GITHUB_OUTPUT
211
211
- name : Restore Python virtual environment
212
212
id : cache-venv
213
-
213
+
214
214
with :
215
215
path : venv
216
216
key : >-
@@ -229,7 +229,7 @@ jobs:
229
229
. venv/bin/activate
230
230
pytest --cov
231
231
- name : Upload coverage artifact
232
-
232
+
233
233
with :
234
234
name : coverage-pypy-${{ matrix.python-version }}
235
235
path : .coverage
@@ -241,10 +241,10 @@ jobs:
241
241
needs : ["tests-linux", "tests-windows", "tests-pypy"]
242
242
steps :
243
243
- name : Check out code from GitHub
244
- uses : actions/checkout@v3.5.3
244
+ uses : actions/checkout@v4.0.0
245
245
- name : Set up Python 3.11
246
246
id : python
247
- uses : actions/setup-python@v4.6.1
247
+ uses : actions/setup-python@v4.7.0
248
248
with :
249
249
python-version : " 3.11"
250
250
check-latest : true
0 commit comments