diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml index a7a765f7483ea..9825166f0fb38 100644 --- a/.github/actionlint.yaml +++ b/.github/actionlint.yaml @@ -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: diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index d15f5a50942d7..6739279616a5d 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -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 ] diff --git a/.github/workflows/end-to-end-tests.yml b/.github/workflows/end-to-end-tests.yml index b3f9882fb8578..ee64fd8490b31 100644 --- a/.github/workflows/end-to-end-tests.yml +++ b/.github/workflows/end-to-end-tests.yml @@ -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 ] diff --git a/.github/workflows/failed-workflow.yml b/.github/workflows/failed-workflow.yml index 2da0ff56989d7..0eabce41807b9 100644 --- a/.github/workflows/failed-workflow.yml +++ b/.github/workflows/failed-workflow.yml @@ -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 diff --git a/.github/workflows/install-testing.yml b/.github/workflows/install-testing.yml index e445efbad1e76..4e1af59a308fd 100644 --- a/.github/workflows/install-testing.yml +++ b/.github/workflows/install-testing.yml @@ -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 ) }} @@ -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 ] diff --git a/.github/workflows/javascript-tests.yml b/.github/workflows/javascript-tests.yml index 996ab33d7bc53..7c664bae516df 100644 --- a/.github/workflows/javascript-tests.yml +++ b/.github/workflows/javascript-tests.yml @@ -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 ] diff --git a/.github/workflows/javascript-type-checking.yml b/.github/workflows/javascript-type-checking.yml index 9bd48bce8c4a7..a65cb7a0afbbb 100644 --- a/.github/workflows/javascript-type-checking.yml +++ b/.github/workflows/javascript-type-checking.yml @@ -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 ] diff --git a/.github/workflows/local-docker-environment.yml b/.github/workflows/local-docker-environment.yml index 7d9329462819d..7a41430cd4966 100644 --- a/.github/workflows/local-docker-environment.yml +++ b/.github/workflows/local-docker-environment.yml @@ -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 ) }} @@ -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 ] diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index 057fc827d14de..f8c5f54aeda6e 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -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' || ( @@ -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 ] diff --git a/.github/workflows/php-compatibility.yml b/.github/workflows/php-compatibility.yml index 3308cc61bcf2f..50d9f9d18314a 100644 --- a/.github/workflows/php-compatibility.yml +++ b/.github/workflows/php-compatibility.yml @@ -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 ] diff --git a/.github/workflows/phpstan-pull-request-comments.yml b/.github/workflows/phpstan-pull-request-comments.yml index aabe26def6414..c0b567b552844 100644 --- a/.github/workflows/phpstan-pull-request-comments.yml +++ b/.github/workflows/phpstan-pull-request-comments.yml @@ -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 diff --git a/.github/workflows/phpstan-static-analysis.yml b/.github/workflows/phpstan-static-analysis.yml index 3258b56ff3baa..f0eaad6d015f3 100644 --- a/.github/workflows/phpstan-static-analysis.yml +++ b/.github/workflows/phpstan-static-analysis.yml @@ -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 ] diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index 632d81ea38b39..4e8f16f4a5558 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -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 @@ -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' ] @@ -240,14 +240,14 @@ 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' @@ -255,14 +255,14 @@ jobs: 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' @@ -270,7 +270,7 @@ jobs: 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' @@ -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' ] @@ -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' @@ -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' ] @@ -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 ] diff --git a/.github/workflows/props-bot.yml b/.github/workflows/props-bot.yml index d2c8b74031cc3..d5b79311bb576 100644 --- a/.github/workflows/props-bot.yml +++ b/.github/workflows/props-bot.yml @@ -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 diff --git a/.github/workflows/pull-request-comments.yml b/.github/workflows/pull-request-comments.yml index 278e00af4f01b..e7673472910d6 100644 --- a/.github/workflows/pull-request-comments.yml +++ b/.github/workflows/pull-request-comments.yml @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/reusable-build-package.yml b/.github/workflows/reusable-build-package.yml index 4ca4b6e87dcb4..2d1d6ad34e103 100644 --- a/.github/workflows/reusable-build-package.yml +++ b/.github/workflows/reusable-build-package.yml @@ -26,7 +26,7 @@ jobs: name: WordPress permissions: contents: read - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 timeout-minutes: 20 steps: diff --git a/.github/workflows/reusable-cleanup-pull-requests.yml b/.github/workflows/reusable-cleanup-pull-requests.yml index c0266864b924c..b8e5af9319dad 100644 --- a/.github/workflows/reusable-cleanup-pull-requests.yml +++ b/.github/workflows/reusable-cleanup-pull-requests.yml @@ -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 diff --git a/.github/workflows/reusable-coding-standards-javascript.yml b/.github/workflows/reusable-coding-standards-javascript.yml index c81ef7aa2c262..e58a6c061cada 100644 --- a/.github/workflows/reusable-coding-standards-javascript.yml +++ b/.github/workflows/reusable-coding-standards-javascript.yml @@ -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 diff --git a/.github/workflows/reusable-coding-standards-php.yml b/.github/workflows/reusable-coding-standards-php.yml index 52779b0aa29b0..cb8700408b0f3 100644 --- a/.github/workflows/reusable-coding-standards-php.yml +++ b/.github/workflows/reusable-coding-standards-php.yml @@ -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 diff --git a/.github/workflows/reusable-end-to-end-tests.yml b/.github/workflows/reusable-end-to-end-tests.yml index 0a8e15f66cccc..a7f440e156845 100644 --- a/.github/workflows/reusable-end-to-end-tests.yml +++ b/.github/workflows/reusable-end-to-end-tests.yml @@ -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 diff --git a/.github/workflows/reusable-javascript-tests.yml b/.github/workflows/reusable-javascript-tests.yml index 62b237a515e66..bc4d2c9d1ccf8 100644 --- a/.github/workflows/reusable-javascript-tests.yml +++ b/.github/workflows/reusable-javascript-tests.yml @@ -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 @@ -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 diff --git a/.github/workflows/reusable-javascript-type-checking-v1.yml b/.github/workflows/reusable-javascript-type-checking-v1.yml index e0bf36ce19c9c..d8d0eeff785a4 100644 --- a/.github/workflows/reusable-javascript-type-checking-v1.yml +++ b/.github/workflows/reusable-javascript-type-checking-v1.yml @@ -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 diff --git a/.github/workflows/reusable-performance-report-v2.yml b/.github/workflows/reusable-performance-report-v2.yml index 56cc147491955..de9a29a7e68ef 100644 --- a/.github/workflows/reusable-performance-report-v2.yml +++ b/.github/workflows/reusable-performance-report-v2.yml @@ -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 diff --git a/.github/workflows/reusable-performance-test-v2.yml b/.github/workflows/reusable-performance-test-v2.yml index 5d3b8ee26ecc4..edff5788cbe50 100644 --- a/.github/workflows/reusable-performance-test-v2.yml +++ b/.github/workflows/reusable-performance-test-v2.yml @@ -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 diff --git a/.github/workflows/reusable-php-compatibility.yml b/.github/workflows/reusable-php-compatibility.yml index d22ca18a66928..d4bcdad270c40 100644 --- a/.github/workflows/reusable-php-compatibility.yml +++ b/.github/workflows/reusable-php-compatibility.yml @@ -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 diff --git a/.github/workflows/reusable-phpstan-static-analysis-v1.yml b/.github/workflows/reusable-phpstan-static-analysis-v1.yml index 321f98189cdf9..401f4c867e990 100644 --- a/.github/workflows/reusable-phpstan-static-analysis-v1.yml +++ b/.github/workflows/reusable-phpstan-static-analysis-v1.yml @@ -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 diff --git a/.github/workflows/reusable-phpunit-tests-v1.yml b/.github/workflows/reusable-phpunit-tests-v1.yml index dc5a0d1edd982..a631b243cd3a9 100644 --- a/.github/workflows/reusable-phpunit-tests-v1.yml +++ b/.github/workflows/reusable-phpunit-tests-v1.yml @@ -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 diff --git a/.github/workflows/reusable-phpunit-tests-v2.yml b/.github/workflows/reusable-phpunit-tests-v2.yml index 628b5387f0e4f..139c41efccf8c 100644 --- a/.github/workflows/reusable-phpunit-tests-v2.yml +++ b/.github/workflows/reusable-phpunit-tests-v2.yml @@ -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 diff --git a/.github/workflows/reusable-phpunit-tests-v3.yml b/.github/workflows/reusable-phpunit-tests-v3.yml index 01dd82e983940..c025ea8d1f576 100644 --- a/.github/workflows/reusable-phpunit-tests-v3.yml +++ b/.github/workflows/reusable-phpunit-tests-v3.yml @@ -12,7 +12,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 diff --git a/.github/workflows/reusable-prepare-gutenberg.yml b/.github/workflows/reusable-prepare-gutenberg.yml index fd7381550f349..285c2b135788e 100644 --- a/.github/workflows/reusable-prepare-gutenberg.yml +++ b/.github/workflows/reusable-prepare-gutenberg.yml @@ -31,7 +31,7 @@ permissions: {} jobs: prepare-gutenberg: name: Gutenberg - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 # Two download attempts of up to six minutes each, where download.js retries internally. timeout-minutes: 15 outputs: diff --git a/.github/workflows/reusable-support-json-reader-v1.yml b/.github/workflows/reusable-support-json-reader-v1.yml index a44aa103208e5..00bdb0de3a865 100644 --- a/.github/workflows/reusable-support-json-reader-v1.yml +++ b/.github/workflows/reusable-support-json-reader-v1.yml @@ -44,7 +44,7 @@ jobs: name: Determine major WordPress version permissions: contents: read - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 timeout-minutes: 5 outputs: version: ${{ steps.major-wp-version.outputs.version }} @@ -80,7 +80,7 @@ jobs: name: Determine PHP versions permissions: contents: read - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 needs: [ major-wp-version ] timeout-minutes: 5 outputs: @@ -123,7 +123,7 @@ jobs: name: Determine MySQL versions permissions: contents: read - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 needs: [ major-wp-version ] timeout-minutes: 5 outputs: diff --git a/.github/workflows/reusable-test-core-build-process.yml b/.github/workflows/reusable-test-core-build-process.yml index 8b42e2b75b72e..90f8dfd0d569e 100644 --- a/.github/workflows/reusable-test-core-build-process.yml +++ b/.github/workflows/reusable-test-core-build-process.yml @@ -12,7 +12,7 @@ on: description: 'Operating system to run tests on' required: false type: 'string' - default: 'ubuntu-24.04' + default: 'ubuntu-26.04' directory: description: 'Directory to run WordPress from. Valid values are `src` or `build`' required: false diff --git a/.github/workflows/reusable-test-gutenberg-build-process.yml b/.github/workflows/reusable-test-gutenberg-build-process.yml index e9c68d232807f..61705c3f96a55 100644 --- a/.github/workflows/reusable-test-gutenberg-build-process.yml +++ b/.github/workflows/reusable-test-gutenberg-build-process.yml @@ -14,7 +14,7 @@ on: description: 'Operating system to run tests on' required: false type: 'string' - default: 'ubuntu-24.04' + default: 'ubuntu-26.04' directory: description: 'Directory to run WordPress from. Valid values are `src` or `build`' required: false diff --git a/.github/workflows/reusable-test-local-docker-environment-v1.yml b/.github/workflows/reusable-test-local-docker-environment-v1.yml index 5d63fbc9aa4b4..fa469a699c446 100644 --- a/.github/workflows/reusable-test-local-docker-environment-v1.yml +++ b/.github/workflows/reusable-test-local-docker-environment-v1.yml @@ -12,7 +12,7 @@ on: description: 'Operating system to test' required: false type: 'string' - default: 'ubuntu-24.04' + default: 'ubuntu-26.04' php: description: 'The version of PHP to use, in the format of X.Y' required: false diff --git a/.github/workflows/reusable-upgrade-testing.yml b/.github/workflows/reusable-upgrade-testing.yml index 5bfadd0213f8f..cc36c1a80587a 100644 --- a/.github/workflows/reusable-upgrade-testing.yml +++ b/.github/workflows/reusable-upgrade-testing.yml @@ -8,7 +8,7 @@ on: description: 'Operating system to run tests on.' required: false type: 'string' - default: 'ubuntu-24.04' + default: 'ubuntu-26.04' wp: description: 'The version of WordPress to start with.' required: true diff --git a/.github/workflows/reusable-workflow-lint.yml b/.github/workflows/reusable-workflow-lint.yml index a50622decf7cb..ffae1fe618d50 100644 --- a/.github/workflows/reusable-workflow-lint.yml +++ b/.github/workflows/reusable-workflow-lint.yml @@ -18,7 +18,7 @@ jobs: # `run:` script checking, glob syntax validation, and more. actionlint: name: Run actionlint - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 permissions: contents: read timeout-minutes: 5 @@ -52,7 +52,7 @@ jobs: # - Uploads the SARIF file to GitHub. zizmor: name: Zizmor - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 # GitHub Code Security is not enabled on any of the private mirrors. if: ${{ github.event.repository.private == false }} permissions: diff --git a/.github/workflows/slack-notifications.yml b/.github/workflows/slack-notifications.yml index fc9f746a0f878..239e7da9ea403 100644 --- a/.github/workflows/slack-notifications.yml +++ b/.github/workflows/slack-notifications.yml @@ -52,7 +52,7 @@ jobs: # - Constructs and stores a message payload as an output. prepare: name: Prepare notifications - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 permissions: actions: read contents: read @@ -171,7 +171,7 @@ jobs: failure: name: Failure notifications permissions: {} - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 timeout-minutes: 20 needs: [ prepare ] if: ${{ needs.prepare.outputs.previous_conclusion != 'first-failure' && inputs.calling_status == 'failure' || failure() }} @@ -188,7 +188,7 @@ jobs: fixed: name: Fixed notifications permissions: {} - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 timeout-minutes: 20 needs: [ prepare ] if: ${{ contains( fromJson( '["failure", "cancelled", "none"]' ), needs.prepare.outputs.previous_conclusion ) && inputs.calling_status == 'success' && success() }} @@ -205,7 +205,7 @@ jobs: success: name: Success notifications permissions: {} - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 timeout-minutes: 20 needs: [ prepare ] if: ${{ inputs.calling_status == 'success' && success() }} @@ -222,7 +222,7 @@ jobs: cancelled: name: Cancelled notifications permissions: {} - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 timeout-minutes: 20 needs: [ prepare ] if: ${{ inputs.calling_status == 'cancelled' && github.run_attempt == 2 || cancelled() }} diff --git a/.github/workflows/test-and-zip-default-themes.yml b/.github/workflows/test-and-zip-default-themes.yml index 62dd5de5dc1b2..62fdb1f292d14 100644 --- a/.github/workflows/test-and-zip-default-themes.yml +++ b/.github/workflows/test-and-zip-default-themes.yml @@ -83,7 +83,7 @@ jobs: # Selects the themes to check, build, and package. determine-themes: name: Determine Themes - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 permissions: {} timeout-minutes: 5 if: | @@ -153,7 +153,7 @@ jobs: # - Checks for zero-byte (empty) files. check-for-empty-files: name: ${{ matrix.theme }} empty file check - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 permissions: contents: read needs: [ determine-themes ] @@ -201,7 +201,7 @@ jobs: # - Ensures version-controlled files are not modified or deleted. test-build-scripts: name: Test ${{ matrix.theme }} build script - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 permissions: contents: read needs: [ determine-themes ] @@ -297,7 +297,7 @@ jobs: # - Uploads the theme files as a workflow artifact (files uploaded as an artifact are automatically zipped). bundle-theme: name: Create ${{ matrix.theme }} ZIP file - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 permissions: contents: read needs: [ determine-themes, check-for-empty-files, test-build-scripts ] @@ -390,7 +390,7 @@ jobs: failed-workflow: name: Failed workflow tasks - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 permissions: actions: write needs: [ slack-notifications ] diff --git a/.github/workflows/test-build-processes.yml b/.github/workflows/test-build-processes.yml index a870685856fdb..2e4c8afad6c9e 100644 --- a/.github/workflows/test-build-processes.yml +++ b/.github/workflows/test-build-processes.yml @@ -77,12 +77,12 @@ jobs: strategy: fail-fast: false matrix: - os: [ 'ubuntu-24.04' ] + os: [ 'ubuntu-26.04' ] directory: [ 'src', 'build' ] test-certificates: [ true ] include: # Only prepare artifacts for Playground once. - - os: 'ubuntu-24.04' + - os: 'ubuntu-26.04' directory: 'build' save-build: true prepare-playground: ${{ github.event_name == 'pull_request' && true || '' }} @@ -136,7 +136,7 @@ jobs: failed-workflow: name: Failed workflow tasks - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 permissions: actions: write needs: [ slack-notifications ] diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index b2692c10c0d0b..583a6045213dc 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -102,7 +102,7 @@ jobs: failed-workflow: name: Failed workflow tasks - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 permissions: actions: write needs: [ slack-notifications ] diff --git a/.github/workflows/test-old-branches.yml b/.github/workflows/test-old-branches.yml index 37425c8b3983c..a7d2ddcb01836 100644 --- a/.github/workflows/test-old-branches.yml +++ b/.github/workflows/test-old-branches.yml @@ -30,7 +30,7 @@ env: jobs: dispatch-workflows-for-old-branches: name: ${{ matrix.workflow }} for ${{ matrix.branch }} - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 permissions: actions: write timeout-minutes: 20 diff --git a/.github/workflows/upgrade-develop-testing.yml b/.github/workflows/upgrade-develop-testing.yml index 989b80069d977..dcd921c2e6c7e 100644 --- a/.github/workflows/upgrade-develop-testing.yml +++ b/.github/workflows/upgrade-develop-testing.yml @@ -87,7 +87,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ 'ubuntu-24.04' ] + os: [ 'ubuntu-26.04' ] php: [ '7.4', '8.4' ] db-type: [ 'mysql' ] db-version: [ '5.7', '8.4' ] @@ -122,7 +122,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ 'ubuntu-24.04' ] + os: [ 'ubuntu-26.04' ] php: [ '7.4', '8.4' ] db-type: [ 'mysql' ] db-version: [ '8.4' ] @@ -155,7 +155,7 @@ jobs: failed-workflow: name: Failed workflow tasks - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 permissions: actions: write needs: [ slack-notifications ] diff --git a/.github/workflows/upgrade-testing.yml b/.github/workflows/upgrade-testing.yml index 7672a21a8c6d7..d4817522585d9 100644 --- a/.github/workflows/upgrade-testing.yml +++ b/.github/workflows/upgrade-testing.yml @@ -75,7 +75,7 @@ jobs: # "latest" and "nightly" drop nothing. Any other unrecognized target is treated the same way, with a warning. build-test-matrix: name: Build Test Matrix - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 permissions: {} if: ${{ github.repository == 'WordPress/wordpress-develop' }} timeout-minutes: 5 @@ -163,7 +163,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', '26.10' ] @@ -189,7 +189,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ 'ubuntu-24.04' ] + os: [ 'ubuntu-26.04' ] php: [ '7.4', '8.0', '8.4' ] db-type: [ 'mysql' ] db-version: [ '5.7', '8.4' ] @@ -215,7 +215,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ 'ubuntu-24.04' ] + os: [ 'ubuntu-26.04' ] php: [ '7.4' ] db-type: [ 'mysql' ] db-version: [ '5.7', '8.4' ] @@ -245,7 +245,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ 'ubuntu-24.04' ] + os: [ 'ubuntu-26.04' ] php: [ '8.0', '8.4' ] db-type: [ 'mysql' ] db-version: [ '5.7', '8.4' ] @@ -276,7 +276,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ 'ubuntu-24.04' ] + os: [ 'ubuntu-26.04' ] php: [ '7.4' ] db-type: [ 'mysql' ] db-version: [ '5.7', '8.0', '8.4', '9.7', '26.10' ] @@ -310,7 +310,7 @@ jobs: failed-workflow: name: Failed workflow tasks - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 permissions: actions: write needs: [ slack-notifications ] diff --git a/.github/workflows/workflow-lint.yml b/.github/workflows/workflow-lint.yml index a9a8735e54869..ea58b4cb50980 100644 --- a/.github/workflows/workflow-lint.yml +++ b/.github/workflows/workflow-lint.yml @@ -66,7 +66,7 @@ jobs: failed-workflow: name: Failed workflow tasks - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 permissions: actions: write needs: [ slack-notifications ]