Skip to content

Commit 728c2db

Browse files
committed
Use an older runner for Python 3.7
Python 3.7 is not supported by the ubuntu-24.04 runner.
1 parent 6900b5e commit 728c2db

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,16 @@ jobs:
179179
permissions:
180180
# actions/checkout needs this to fetch code
181181
contents: read
182-
runs-on: ubuntu-latest
182+
runs-on: ${{ matrix.os }}
183183
strategy:
184184
fail-fast: false
185185
matrix:
186+
include:
187+
- os: ubuntu-22.04
188+
python-version: "3.7"
189+
os:
190+
- ubuntu-latest
186191
python-version:
187-
- "3.7"
188192
- "3.8"
189193
- "3.9"
190194
- "3.10"
@@ -300,12 +304,16 @@ jobs:
300304
permissions:
301305
# actions/checkout needs this to fetch code
302306
contents: read
303-
runs-on: ubuntu-latest
307+
runs-on: ${{ matrix.os }}
304308
strategy:
305309
fail-fast: false
306310
matrix:
311+
include:
312+
- os: ubuntu-22.04
313+
python-version: "3.7"
314+
os:
315+
- ubuntu-latest
307316
python-version:
308-
- "3.7"
309317
- "3.8"
310318
- "3.9"
311319
- "3.10"
@@ -363,12 +371,16 @@ jobs:
363371
permissions:
364372
# actions/checkout needs this to fetch code
365373
contents: read
366-
runs-on: ubuntu-latest
374+
runs-on: ${{ matrix.os }}
367375
strategy:
368376
fail-fast: false
369377
matrix:
378+
include:
379+
- os: ubuntu-22.04
380+
python-version: "3.7"
381+
os:
382+
- ubuntu-latest
370383
python-version:
371-
- "3.7"
372384
- "3.8"
373385
- "3.9"
374386
- "3.10"

0 commit comments

Comments
 (0)