Skip to content

Commit 6c87c27

Browse files
committed
Use ubuntu-latest for the supported Python versions (#442)
Use ubuntu-22.04 only for Python 3.7-3.8 by including them separately into the matrix.
1 parent 336bea8 commit 6c87c27

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,16 @@ jobs:
77
strategy:
88
max-parallel: 6
99
matrix:
10+
# ubuntu-22.04 supports Python 3.7-3.12
11+
# ubuntu-24.04 (currently latest & preferred) supports Python 3.9-3.12
12+
# More details: https://github.com/actions/runner-images/issues/10636
1013
os: [ubuntu-latest]
11-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
14+
python-version: ["3.9", "3.10", "3.11", "3.12"]
15+
include:
16+
- os: ubuntu-22.04
17+
python-version: "3.7"
18+
- os: ubuntu-22.04
19+
python-version: "3.8"
1220
runs-on: ${{ matrix.os }}
1321
steps:
1422
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)