Skip to content

Commit c07436c

Browse files
authored
Bump workflows to use Ubuntu 24.04 (#1478)
* Bump workflows to use Ubuntu 24.04 * Continue using 20.04 for python 3.6 * Continue using 20.04 for python 3.6 and 3.7 * Indentation fix
1 parent f5f18e4 commit c07436c

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

.github/workflows/dockerfile-base.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616
jobs:
1717
pre-setup:
1818
name: ⚙️ Pre-set global build settings
19-
runs-on: ubuntu-20.04
19+
runs-on: ubuntu-24.04
2020
defaults:
2121
run:
2222
shell: bash
@@ -31,7 +31,7 @@ jobs:
3131
echo "::set-output name=platforms::$PLATFORMS"
3232
3333
ghcr-base:
34-
runs-on: ubuntu-20.04
34+
runs-on: ubuntu-24.04
3535
permissions:
3636
packages: write
3737
if: success()

.github/workflows/test-library.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ concurrency:
4646
jobs:
4747
pre-setup:
4848
name: ⚙️ Pre-set global build settings
49-
runs-on: ubuntu-20.04
49+
runs-on: ubuntu-24.04
5050
defaults:
5151
run:
5252
shell: python
@@ -216,7 +216,7 @@ jobs:
216216
needs:
217217
- pre-setup # transitive, for accessing settings
218218

219-
runs-on: ubuntu-20.04
219+
runs-on: ubuntu-24.04
220220

221221
env:
222222
PY_COLORS: 1
@@ -331,7 +331,7 @@ jobs:
331331
- build
332332
- pre-setup # transitive, for accessing settings
333333

334-
runs-on: ubuntu-20.04
334+
runs-on: ubuntu-24.04
335335
strategy:
336336
matrix:
337337
toxenv:
@@ -440,19 +440,19 @@ jobs:
440440
matrix:
441441
os:
442442
- macOS-12
443-
- Ubuntu-20.04
443+
- Ubuntu-24.04
444444
- Windows-latest
445445
python:
446-
# NOTE: The latest and the lowest supported Pythons are prioritized
447-
# NOTE: to improve the responsiveness. It's nice to see the most
448-
# NOTE: important results first.
449446
- '3.12'
450-
- 3.6
451447
- '3.11'
452448
- '3.10'
453449
- 3.9
454450
- 3.8
455-
- 3.7
451+
include:
452+
- os: Ubuntu-20.04
453+
python: 3.6
454+
- os: Ubuntu-20.04
455+
python: 3.7
456456

457457
continue-on-error: >-
458458
${{
@@ -554,7 +554,7 @@ jobs:
554554
env:
555555
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
556556
test-container:
557-
runs-on: ubuntu-20.04
557+
runs-on: ubuntu-24.04
558558
permissions:
559559
packages: write
560560
if: success()
@@ -614,7 +614,7 @@ jobs:
614614
./tests/integration/test_integration.sh 8899
615615
616616
analyze:
617-
runs-on: ubuntu-20.04
617+
runs-on: ubuntu-24.04
618618
name: 🛡️ Analyze
619619
# schedule:
620620
# - cron: '0 14 * * 1'
@@ -696,7 +696,7 @@ jobs:
696696
name: 📊 Node ${{ matrix.node }} @ ${{ matrix.os }}
697697
strategy:
698698
matrix:
699-
os: [ubuntu-20.04, windows-latest, macOS-12]
699+
os: [ubuntu-24.04, windows-latest, macOS-12]
700700
node: ['10.x', '11.x', '12.x']
701701
# max-parallel: 4
702702
fail-fast: false
@@ -727,7 +727,7 @@ jobs:
727727
name: 🧑‍💻 👩‍💻 👨‍💻 Developer setup ${{ matrix.node }} @ ${{ matrix.os }}
728728
strategy:
729729
matrix:
730-
os: [ubuntu-20.04, macOS-latest]
730+
os: [ubuntu-24.04, macOS-latest]
731731
python: ['3.10']
732732
fail-fast: false
733733
steps:
@@ -751,7 +751,7 @@ jobs:
751751
python3 -m proxy --version
752752
753753
ghcr-latest:
754-
runs-on: ubuntu-20.04
754+
runs-on: ubuntu-24.04
755755
permissions:
756756
packages: write
757757
if: success()
@@ -833,7 +833,7 @@ jobs:
833833
-t $LATEST_TAG .
834834
835835
ghcr-openssl:
836-
runs-on: ubuntu-20.04
836+
runs-on: ubuntu-24.04
837837
permissions:
838838
packages: write
839839
if: success()
@@ -913,7 +913,7 @@ jobs:
913913
-t $LATEST_TAG .
914914
915915
docker-latest:
916-
runs-on: ubuntu-20.04
916+
runs-on: ubuntu-24.04
917917
permissions:
918918
packages: write
919919
if: success()
@@ -984,7 +984,7 @@ jobs:
984984
- ghcr-openssl
985985
- docker-latest
986986

987-
runs-on: ubuntu-20.04
987+
runs-on: ubuntu-24.04
988988

989989
steps:
990990
- name: Decide whether the needed jobs succeeded or failed
@@ -999,7 +999,7 @@ jobs:
999999
- pre-setup # transitive, for accessing settings
10001000
if: >-
10011001
fromJSON(needs.pre-setup.outputs.release-requested)
1002-
runs-on: ubuntu-20.04
1002+
runs-on: ubuntu-24.04
10031003

10041004
environment:
10051005
name: release
@@ -1028,7 +1028,7 @@ jobs:
10281028
if: >-
10291029
fromJSON(needs.pre-setup.outputs.is-untagged-devel)
10301030
|| fromJSON(needs.pre-setup.outputs.release-requested)
1031-
runs-on: ubuntu-20.04
1031+
runs-on: ubuntu-24.04
10321032

10331033
environment:
10341034
name: release-testpypi
@@ -1057,7 +1057,7 @@ jobs:
10571057
needs:
10581058
- publish-pypi
10591059
- pre-setup # transitive, for accessing settings
1060-
runs-on: ubuntu-20.04
1060+
runs-on: ubuntu-24.04
10611061

10621062
steps:
10631063
- name: Fetch the src snapshot
@@ -1090,7 +1090,7 @@ jobs:
10901090
needs:
10911091
- post-release-repo-update
10921092
- pre-setup # transitive, for accessing settings
1093-
runs-on: ubuntu-20.04
1093+
runs-on: ubuntu-24.04
10941094

10951095
permissions:
10961096
contents: write

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ submodules:
2323
recursive: true
2424

2525
build:
26-
os: ubuntu-20.04
26+
os: ubuntu-24.04
2727
tools:
2828
python: >- # PyYAML parses it as float `3.1` it it's not an explicit string
2929
3.10

0 commit comments

Comments
 (0)