Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# actionlint does not recognize the `ubuntu-26.04` GitHub-hosted runner label yet.
# This can be removed once the pinned actionlint version includes it in its list of known labels.
self-hosted-runner:
labels:
- ubuntu-26.04

# actionlint does not support the `$/` self-repository `uses:` syntax yet.
# See https://github.com/rhysd/actionlint/issues/711.
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ phpcs, jshint, slack-notifications ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ e2e-tests, slack-notifications ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/failed-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# - Restarts all failed jobs when the workflow fails or is cancelled for the first time.
failed-workflow:
name: Rerun a workflow
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
timeout-minutes: 30
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/install-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-24.04 ]
os: [ ubuntu-26.04 ]
php: ${{ fromJSON( needs.build-test-matrix.outputs.php-versions ) }}
db-type: [ 'mysql' ]
db-version: ${{ fromJSON( needs.build-test-matrix.outputs.mysql-versions ) }}
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ slack-notifications ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/javascript-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ slack-notifications ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/javascript-type-checking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ slack-notifications ]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/local-docker-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-24.04 ]
os: [ ubuntu-26.04 ]
memcached: [ false, true ]
php: ${{ fromJSON( needs.build-test-matrix.outputs.php-versions ) }}
db-version: ${{ fromJSON( needs.build-test-matrix.outputs.mysql-versions ) }}
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ build-test-matrix, environment-tests-mysql, slack-notifications ]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ permissions: {}
jobs:
determine-matrix:
name: Determine Matrix
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
if: |
(
github.repository == 'WordPress/wordpress-develop' || (
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ slack-notifications ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/php-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ slack-notifications ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpstan-pull-request-comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# - Creates or updates the comment while there are errors, and marks it as resolved once there are none.
phpstan-results:
name: Comment on a pull request with PHPStan results
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: read
issues: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpstan-static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ slack-notifications ]
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
# Reduce PR testing only for audited Core assets and unrelated companion files.
select-test-coverage:
name: Select PHPUnit coverage
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
timeout-minutes: 5
permissions:
contents: read
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-24.04 ]
os: [ ubuntu-26.04 ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
db-type: [ 'mysql' ]
db-version: [ '5.7', '8.0', '8.4', '9.7' ]
Expand Down Expand Up @@ -240,37 +240,37 @@ jobs:

include:
# Include jobs that test with memcached.
- os: ubuntu-24.04
- os: ubuntu-26.04
php: '8.3'
db-type: 'mysql'
db-version: '8.4'
tests-domain: 'example.org'
multisite: false
memcached: true
- os: ubuntu-24.04
- os: ubuntu-26.04
php: '8.3'
db-type: 'mysql'
db-version: '8.4'
tests-domain: 'example.org'
multisite: true
memcached: true
# Include jobs with a port on the test domain for both single and multisite.
- os: ubuntu-24.04
- os: ubuntu-26.04
php: '8.4'
db-type: 'mysql'
db-version: '8.4'
tests-domain: 'example.org:8889'
multisite: false
memcached: false
- os: ubuntu-24.04
- os: ubuntu-26.04
php: '8.4'
db-type: 'mysql'
db-version: '8.4'
tests-domain: 'example.org:8889'
multisite: true
memcached: false
# Report test results to the Host Test Results.
- os: ubuntu-24.04
- os: ubuntu-26.04
db-type: 'mysql'
db-version: '8.4'
tests-domain: 'example.org'
Expand Down Expand Up @@ -322,7 +322,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-24.04 ]
os: [ ubuntu-26.04 ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
db-type: [ 'mariadb' ]
db-version: [ '5.5', '10.3', '10.5', '10.6', '10.11', '11.4', '11.8', '12.3' ]
Expand Down Expand Up @@ -351,13 +351,13 @@ jobs:

include:
# Include jobs that test with memcached.
- os: ubuntu-24.04
- os: ubuntu-26.04
php: '8.3'
db-type: 'mariadb'
db-version: '12.3'
multisite: false
memcached: true
- os: ubuntu-24.04
- os: ubuntu-26.04
php: '8.3'
db-type: 'mariadb'
db-version: '12.3'
Expand Down Expand Up @@ -407,7 +407,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-24.04 ]
os: [ ubuntu-26.04 ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
db-type: [ 'mysql', 'mariadb' ]
db-version: [ '26.10', '13.0' ]
Expand Down Expand Up @@ -626,7 +626,7 @@ jobs:

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: write
needs: [ slack-notifications ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/props-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
# - Removes the props-bot label, if necessary.
props-bot:
name: Generate a list of props
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
# The action needs permission `write` permission for PRs in order to add a comment.
pull-requests: write
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request-comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# Comments on a pull request when the author is a first time contributor.
post-welcome-message:
name: Post a welcome comment for first-time contributors
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
issues: write
pull-requests: write
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
# Leaves a comment on a pull request with a link to test the changes in a WordPress Playground instance.
playground-details:
name: Comment on a pull request with Playground details
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
issues: write
pull-requests: write
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
# Manages comments reminding contributors to include a Trac ticket link when opening a pull request.
trac-ticket-check:
name: Manage Trac ticket reminders for pull requests
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
issues: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
name: WordPress
permissions:
contents: read
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
timeout-minutes: 20

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-cleanup-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# - Comments on pull requests referencing any fixed tickets before closing.
close-prs:
name: Find and close PRs
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
pull-requests: write

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-coding-standards-javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# - Ensures version-controlled files are not modified or deleted.
jshint:
name: JavaScript checks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
contents: read
timeout-minutes: 20
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-coding-standards-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
# - Ensures version-controlled files are not modified or deleted.
phpcs:
name: PHP checks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
contents: read
timeout-minutes: 20
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
# - Ensures version-controlled files are not modified or deleted.
e2e-tests:
name: ${{ inputs.test-group && format( '{0}, ', inputs.test-group ) || '' }}SCRIPT_DEBUG ${{ inputs.LOCAL_SCRIPT_DEBUG && 'enabled' || 'disabled' }}
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
contents: read
timeout-minutes: 20
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-javascript-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# - Ensures version-controlled files are not modified or deleted.
test-js:
name: Run QUnit tests
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
contents: read
timeout-minutes: 20
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Install npm Dependencies
run: npm ci

# Branches prior to 6.1 using outdated versions of Puppeteer fail on newer versions of the `ubuntu-24` image.
# Branches prior to 6.1 using outdated versions of Puppeteer fail on the `ubuntu-24.04` image and newer.
# This disables AppArmor in order to work around those failures.
#
# See https://issues.chromium.org/issues/373753919
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-javascript-type-checking-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# - Ensures version-controlled files are not modified or deleted.
typecheck:
name: Run JavaScript type checking
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
contents: read
timeout-minutes: 10
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-performance-report-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
# - Publish performance results if necessary.
compare:
name: ${{ inputs.multisite && 'Multisite' || 'Single Site' }} ${{ inputs.memcached && 'Memcached' || 'Default' }} ${{ inputs.publish && '(Publishes)' || '' }}
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
contents: read

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-performance-test-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
# - Ensure version-controlled files are not modified or deleted.
performance:
name: Test ${{ inputs.subject == 'base' && inputs.BASE_TAG || inputs.subject }}
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
contents: read

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-php-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
# - Ensures version-controlled files are not modified or deleted.
php-compatibility:
name: Run compatibility checks
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
contents: read
timeout-minutes: 20
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-phpstan-static-analysis-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
# - Ensures version-controlled files are not modified or deleted.
phpstan:
name: Run PHP static analysis
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
contents: read
timeout-minutes: 20
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-phpunit-tests-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
description: 'Operating system to run tests on'
required: false
type: 'string'
default: 'ubuntu-24.04'
default: 'ubuntu-26.04'
repository:
description: 'The repository to check out and test. Defaults to the repository calling this workflow.'
required: false
Expand Down
Loading
Loading