Skip to content

Commit fb54820

Browse files
committed
Use ubuntu-24.04 during build
This change will ensure that we are in control of the ubuntu version using build and avoid surprises from GitHub as the date when they make the switch is not predictable. This needs to change only once every two years, so not really a problem. Also sorts the noise we currently get due to the upcoming switch: ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see actions/runner-images#10636
1 parent c7f2caf commit fb54820

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- "3.9"
2828
- "3.8"
2929
os:
30-
- ubuntu-latest
30+
- ubuntu-24.04
3131
- windows-latest
3232
- macos-latest
3333
steps:
@@ -67,7 +67,7 @@ jobs:
6767
- docs
6868
- pkg_meta
6969
os:
70-
- ubuntu-latest
70+
- ubuntu-24.04
7171
- windows-latest
7272
exclude:
7373
- { os: windows-latest, tox_env: docs }

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- uses: actions/checkout@v4
1414
with:
@@ -30,7 +30,7 @@ jobs:
3030
release:
3131
needs:
3232
- build
33-
runs-on: ubuntu-latest
33+
runs-on: ubuntu-24.04
3434
environment:
3535
name: release
3636
url: https://pypi.org/project/tox/${{ github.ref_name }}

0 commit comments

Comments
 (0)