Skip to content

Commit d9d2d8b

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 43f2881 commit d9d2d8b

13 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
@@ -84,7 +84,7 @@ jobs:
8484

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

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

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

7272
failed-workflow:
7373
name: Failed workflow tasks
74-
runs-on: ubuntu-24.04
74+
runs-on: ubuntu-26.04
7575
permissions:
7676
actions: write
7777
needs: [ slack-notifications ]

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

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

140140
failed-workflow:
141141
name: Failed workflow tasks
142-
runs-on: ubuntu-24.04
142+
runs-on: ubuntu-26.04
143143
permissions:
144144
actions: write
145145
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
@@ -48,7 +48,7 @@ permissions: {}
4848
jobs:
4949
determine-matrix:
5050
name: Determine Matrix
51-
runs-on: ubuntu-24.04
51+
runs-on: ubuntu-26.04
5252
if: ${{ ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) && ! contains( github.event.before, '00000000' ) }}
5353
permissions:
5454
actions: read
@@ -145,7 +145,7 @@ jobs:
145145

146146
failed-workflow:
147147
name: Failed workflow tasks
148-
runs-on: ubuntu-24.04
148+
runs-on: ubuntu-26.04
149149
permissions:
150150
actions: write
151151
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/phpunit-tests.yml‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
strategy:
8888
fail-fast: false
8989
matrix:
90-
os: [ ubuntu-24.04 ]
90+
os: [ ubuntu-26.04 ]
9191
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
9292
db-type: [ 'mysql' ]
9393
db-version: [ '5.7', '8.0', '8.4' ]
@@ -114,37 +114,37 @@ jobs:
114114

115115
include:
116116
# Include jobs that test with memcached.
117-
- os: ubuntu-24.04
117+
- os: ubuntu-26.04
118118
php: '8.3'
119119
db-type: 'mysql'
120120
db-version: '8.4'
121121
tests-domain: 'example.org'
122122
multisite: false
123123
memcached: true
124-
- os: ubuntu-24.04
124+
- os: ubuntu-26.04
125125
php: '8.3'
126126
db-type: 'mysql'
127127
db-version: '8.4'
128128
tests-domain: 'example.org'
129129
multisite: true
130130
memcached: true
131131
# Include jobs with a port on the test domain for both single and multisite.
132-
- os: ubuntu-24.04
132+
- os: ubuntu-26.04
133133
php: '8.4'
134134
db-type: 'mysql'
135135
db-version: '8.4'
136136
tests-domain: 'example.org:8889'
137137
multisite: false
138138
memcached: false
139-
- os: ubuntu-24.04
139+
- os: ubuntu-26.04
140140
php: '8.4'
141141
db-type: 'mysql'
142142
db-version: '8.4'
143143
tests-domain: 'example.org:8889'
144144
multisite: true
145145
memcached: false
146146
# Report test results to the Host Test Results.
147-
- os: ubuntu-24.04
147+
- os: ubuntu-26.04
148148
db-type: 'mysql'
149149
db-version: '8.4'
150150
tests-domain: 'example.org'
@@ -181,7 +181,7 @@ jobs:
181181
strategy:
182182
fail-fast: false
183183
matrix:
184-
os: [ ubuntu-24.04 ]
184+
os: [ ubuntu-26.04 ]
185185
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
186186
db-type: [ 'mariadb' ]
187187
db-version: [ '5.5', '10.3', '10.5', '10.6', '10.11', '11.4', '11.8' ]
@@ -212,13 +212,13 @@ jobs:
212212

213213
include:
214214
# Include jobs that test with memcached.
215-
- os: ubuntu-24.04
215+
- os: ubuntu-26.04
216216
php: '8.3'
217217
db-type: 'mariadb'
218218
db-version: '11.8'
219219
multisite: false
220220
memcached: true
221-
- os: ubuntu-24.04
221+
- os: ubuntu-26.04
222222
php: '8.3'
223223
db-type: 'mariadb'
224224
db-version: '11.8'
@@ -255,7 +255,7 @@ jobs:
255255
strategy:
256256
fail-fast: false
257257
matrix:
258-
os: [ ubuntu-24.04 ]
258+
os: [ ubuntu-26.04 ]
259259
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
260260
db-type: [ 'mysql', 'mariadb' ]
261261
db-version: [ '9.4', '12.0' ]
@@ -406,7 +406,7 @@ jobs:
406406

407407
failed-workflow:
408408
name: Failed workflow tasks
409-
runs-on: ubuntu-24.04
409+
runs-on: ubuntu-26.04
410410
permissions:
411411
actions: write
412412
needs: [ slack-notifications ]

‎.github/workflows/props-bot.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
# - Removes the props-bot label, if necessary.
4949
props-bot:
5050
name: Generate a list of props
51-
runs-on: ubuntu-24.04
51+
runs-on: ubuntu-26.04
5252
permissions:
5353
# The action needs permission `write` permission for PRs in order to add a comment.
5454
pull-requests: write

‎.github/workflows/pull-request-comments.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ permissions: {}
2222
jobs:
2323
# Comments on a pull request when the author is a first time contributor.
2424
post-welcome-message:
25-
runs-on: ubuntu-24.04
25+
runs-on: ubuntu-26.04
2626
permissions:
2727
issues: write
2828
pull-requests: write
@@ -80,7 +80,7 @@ jobs:
8080
# Leaves a comment on a pull request with a link to test the changes in a WordPress Playground instance.
8181
playground-details:
8282
name: Comment on a pull request with Playground details
83-
runs-on: ubuntu-24.04
83+
runs-on: ubuntu-26.04
8484
permissions:
8585
issues: write
8686
pull-requests: write
@@ -184,7 +184,7 @@ jobs:
184184
# Manages comments reminding contributors to include a Trac ticket link when opening a pull request.
185185
trac-ticket-check:
186186
name: Manage Trac ticket reminders for pull requests
187-
runs-on: ubuntu-24.04
187+
runs-on: ubuntu-26.04
188188
permissions:
189189
issues: write
190190
pull-requests: write

0 commit comments

Comments
 (0)