Skip to content

Commit dcf1149

Browse files
desrosjclaude
andcommitted
Build/Test Tools: Update GitHub-hosted runners to Ubuntu 26.04.
This updates the GitHub-hosted Ubuntu runners used in GitHub Actions workflows to `ubuntu-26.04`. The pinned version of actionlint does not recognize the new label yet, so it is registered in `.github/actionlint.yaml` for the time being. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Y86gzNmrCaBaUCqQTNKYH
1 parent ada5914 commit dcf1149

15 files changed

Lines changed: 36 additions & 31 deletions

‎.github/actionlint.yaml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# actionlint does not recognize the `ubuntu-26.04` GitHub-hosted runner label yet.
2+
# This can be removed once the pinned actionlint version includes it in its list of known labels.
3+
self-hosted-runner:
4+
labels:
5+
- ubuntu-26.04

‎.github/workflows/coding-standards.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878

7979
failed-workflow:
8080
name: Failed workflow tasks
81-
runs-on: ubuntu-24.04
81+
runs-on: ubuntu-26.04
8282
permissions:
8383
actions: write
8484
needs: [ phpcs, jshint, slack-notifications ]

‎.github/workflows/end-to-end-tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585

8686
failed-workflow:
8787
name: Failed workflow tasks
88-
runs-on: ubuntu-24.04
88+
runs-on: ubuntu-26.04
8989
permissions:
9090
actions: write
9191
needs: [ e2e-tests, slack-notifications ]

‎.github/workflows/javascript-tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373

7474
failed-workflow:
7575
name: Failed workflow tasks
76-
runs-on: ubuntu-24.04
76+
runs-on: ubuntu-26.04
7777
permissions:
7878
actions: write
7979
needs: [ slack-notifications ]

‎.github/workflows/javascript-type-checking.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666

6767
failed-workflow:
6868
name: Failed workflow tasks
69-
runs-on: ubuntu-24.04
69+
runs-on: ubuntu-26.04
7070
permissions:
7171
actions: write
7272
needs: [ slack-notifications ]

‎.github/workflows/local-docker-environment.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
strategy:
9494
fail-fast: false
9595
matrix:
96-
os: [ ubuntu-24.04 ]
96+
os: [ ubuntu-26.04 ]
9797
memcached: [ false, true ]
9898
php: ${{ fromJSON( needs.build-test-matrix.outputs.php-versions ) }}
9999
db-version: ${{ fromJSON( needs.build-test-matrix.outputs.mysql-versions ) }}
@@ -138,7 +138,7 @@ jobs:
138138

139139
failed-workflow:
140140
name: Failed workflow tasks
141-
runs-on: ubuntu-24.04
141+
runs-on: ubuntu-26.04
142142
permissions:
143143
actions: write
144144
needs: [ build-test-matrix, environment-tests-mysql, slack-notifications ]

‎.github/workflows/performance.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ permissions: {}
4949
jobs:
5050
determine-matrix:
5151
name: Determine Matrix
52-
runs-on: ubuntu-24.04
52+
runs-on: ubuntu-26.04
5353
if: ${{ ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) && ! contains( github.event.before, '00000000' ) }}
5454
permissions:
5555
actions: read
@@ -146,7 +146,7 @@ jobs:
146146

147147
failed-workflow:
148148
name: Failed workflow tasks
149-
runs-on: ubuntu-24.04
149+
runs-on: ubuntu-26.04
150150
permissions:
151151
actions: write
152152
needs: [ slack-notifications ]

‎.github/workflows/php-compatibility.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262

6363
failed-workflow:
6464
name: Failed workflow tasks
65-
runs-on: ubuntu-24.04
65+
runs-on: ubuntu-26.04
6666
permissions:
6767
actions: write
6868
needs: [ slack-notifications ]

‎.github/workflows/phpstan-static-analysis.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262

6363
failed-workflow:
6464
name: Failed workflow tasks
65-
runs-on: ubuntu-24.04
65+
runs-on: ubuntu-26.04
6666
permissions:
6767
actions: write
6868
needs: [ slack-notifications ]

‎.github/workflows/phpunit-tests.yml‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
strategy:
100100
fail-fast: false
101101
matrix:
102-
os: [ ubuntu-24.04 ]
102+
os: [ ubuntu-26.04 ]
103103
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
104104
db-type: [ 'mysql' ]
105105
db-version: [ '5.7', '8.0', '8.4', '9.7' ]
@@ -127,37 +127,37 @@ jobs:
127127

128128
include:
129129
# Include jobs that test with memcached.
130-
- os: ubuntu-24.04
130+
- os: ubuntu-26.04
131131
php: '8.3'
132132
db-type: 'mysql'
133133
db-version: '8.4'
134134
tests-domain: 'example.org'
135135
multisite: false
136136
memcached: true
137-
- os: ubuntu-24.04
137+
- os: ubuntu-26.04
138138
php: '8.3'
139139
db-type: 'mysql'
140140
db-version: '8.4'
141141
tests-domain: 'example.org'
142142
multisite: true
143143
memcached: true
144144
# Include jobs with a port on the test domain for both single and multisite.
145-
- os: ubuntu-24.04
145+
- os: ubuntu-26.04
146146
php: '8.4'
147147
db-type: 'mysql'
148148
db-version: '8.4'
149149
tests-domain: 'example.org:8889'
150150
multisite: false
151151
memcached: false
152-
- os: ubuntu-24.04
152+
- os: ubuntu-26.04
153153
php: '8.4'
154154
db-type: 'mysql'
155155
db-version: '8.4'
156156
tests-domain: 'example.org:8889'
157157
multisite: true
158158
memcached: false
159159
# Report test results to the Host Test Results.
160-
- os: ubuntu-24.04
160+
- os: ubuntu-26.04
161161
db-type: 'mysql'
162162
db-version: '8.4'
163163
tests-domain: 'example.org'
@@ -199,7 +199,7 @@ jobs:
199199
strategy:
200200
fail-fast: false
201201
matrix:
202-
os: [ ubuntu-24.04 ]
202+
os: [ ubuntu-26.04 ]
203203
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
204204
db-type: [ 'mariadb' ]
205205
db-version: [ '5.5', '10.3', '10.5', '10.6', '10.11', '11.4', '11.8' ]
@@ -228,13 +228,13 @@ jobs:
228228

229229
include:
230230
# Include jobs that test with memcached.
231-
- os: ubuntu-24.04
231+
- os: ubuntu-26.04
232232
php: '8.3'
233233
db-type: 'mariadb'
234234
db-version: '11.8'
235235
multisite: false
236236
memcached: true
237-
- os: ubuntu-24.04
237+
- os: ubuntu-26.04
238238
php: '8.3'
239239
db-type: 'mariadb'
240240
db-version: '11.8'
@@ -276,7 +276,7 @@ jobs:
276276
strategy:
277277
fail-fast: false
278278
matrix:
279-
os: [ ubuntu-24.04 ]
279+
os: [ ubuntu-26.04 ]
280280
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
281281
db-type: [ 'mysql', 'mariadb' ]
282282
db-version: [ '12.1' ]
@@ -432,7 +432,7 @@ jobs:
432432

433433
failed-workflow:
434434
name: Failed workflow tasks
435-
runs-on: ubuntu-24.04
435+
runs-on: ubuntu-26.04
436436
permissions:
437437
actions: write
438438
needs: [ slack-notifications ]

0 commit comments

Comments
 (0)