Skip to content

Commit f638e5f

Browse files
Merge branch 'trunk' into remove/interactivity-router-redundant-server-state
2 parents da4e976 + 439221c commit f638e5f

File tree

346 files changed

+5263
-2640
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

346 files changed

+5263
-2640
lines changed

.github/workflows/install-testing.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ jobs:
9696
#
9797
# Performs the following steps:
9898
# - Sets up PHP.
99-
# - Starts the database server.
10099
# - Downloads the specified version of WordPress.
101100
# - Creates a `wp-config.php` file.
102101
# - Installs WordPress.
@@ -125,6 +124,14 @@ jobs:
125124
- db-version: '5.0'
126125
- db-version: '5.1'
127126
- db-version: '5.5'
127+
- php: '7.2'
128+
db-version: '8.4'
129+
- php: '7.3'
130+
db-version: '8.4'
131+
- php: '7.2'
132+
db-version: '9.0'
133+
- php: '7.3'
134+
db-version: '9.0'
128135

129136
services:
130137
database:
@@ -133,13 +140,13 @@ jobs:
133140
- 3306
134141
options: >-
135142
--health-cmd="mysqladmin ping"
136-
--health-interval=30s
137-
--health-timeout=10s
138-
--health-retries=5
139-
-e MYSQL_ROOT_PASSWORD=root
140-
-e MYSQL_DATABASE=test_db
143+
--health-interval="30s"
144+
--health-timeout="10s"
145+
--health-retries="5"
146+
-e MYSQL_ROOT_PASSWORD="root"
147+
-e MYSQL_DATABASE="test_db"
141148
--entrypoint sh ${{ matrix.db-type }}:${{ matrix.db-version }}
142-
-c "exec docker-entrypoint.sh mysqld${{ matrix.db-version != '5.5' && ' --default-authentication-plugin=mysql_native_password"' || '' }}
149+
-c "exec docker-entrypoint.sh mysqld${{ matrix.db-type == 'mysql' && contains( fromJSON('["7.2", "7.3"]'), matrix.php ) && ' --default-authentication-plugin=mysql_native_password' || '' }}"
143150
144151
steps:
145152
- name: Set up PHP ${{ matrix.php }}
@@ -149,10 +156,6 @@ jobs:
149156
coverage: none
150157
tools: wp-cli${{ contains( fromJSON('["5.4", "5.5"]'), matrix.php ) && ':2.4.0' || '' }}
151158

152-
- name: Start the database server
153-
run: |
154-
sudo systemctl start ${{ matrix.db-type }}
155-
156159
- name: Download WordPress
157160
run: wp core download ${{ inputs.wp-version && format( '--version={0}', inputs.wp-version ) || '--version=nightly' }}
158161

.github/workflows/phpunit-tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
os: [ ubuntu-latest ]
4848
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
4949
db-type: [ 'mysql' ]
50-
db-version: [ '5.7', '8.0', '8.1', '8.2', '8.3' ]
50+
db-version: [ '5.7', '8.0', '8.4', '9.0' ]
5151
tests-domain: [ 'example.org' ]
5252
multisite: [ false, true ]
5353
memcached: [ false ]
@@ -91,6 +91,14 @@ jobs:
9191
multisite: false
9292
memcached: false
9393
report: true
94+
95+
exclude:
96+
# MySQL 9.0+ will not work on PHP 7.2 & 7.3
97+
- php: '7.2'
98+
db-version: '9.0'
99+
- php: '7.3'
100+
db-version: '9.0'
101+
94102
with:
95103
os: ${{ matrix.os }}
96104
php: ${{ matrix.php }}

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name == 'pull_request_target' }}
3131
steps:
3232
- name: Post a welcome comment
33-
uses: wow-actions/welcome@72817eb31cda1de60f51893d80e2e82ce57f7e76 # v1.3.0
33+
uses: wow-actions/welcome@68019c2c271561f63162fea75bb7707ef8a02c85 # v1.3.1
3434
with:
3535
FIRST_PR_REACTIONS: 'hooray'
3636
FIRST_PR_COMMENT: >
@@ -123,6 +123,7 @@ jobs:
123123

124124
- name: Leave a comment about testing with Playground
125125
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
126+
if: ${{ github.actor != 'dependabot' }}
126127
with:
127128
script: |
128129
const fs = require( 'fs' );
@@ -171,7 +172,7 @@ jobs:
171172
permissions:
172173
issues: write
173174
pull-requests: write
174-
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name == 'pull_request_target' && ! github.event.pull_request.draft && github.event.pull_request.state == 'open' }}
175+
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name == 'pull_request_target' && ! github.event.pull_request.draft && github.event.pull_request.state == 'open' && github.actor != 'dependabot' }}
175176
steps:
176177
- name: Check for Trac ticket and manage comment
177178
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1

.github/workflows/reusable-coding-standards-javascript.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
3636

3737
- name: Set up Node.js
38-
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
38+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
3939
with:
4040
node-version-file: '.nvmrc'
4141
cache: npm

.github/workflows/reusable-coding-standards-php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
run: echo "date=$(/bin/date -u --date='last Mon' "+%F")" >> $GITHUB_OUTPUT
6161

6262
- name: Cache PHPCS scan cache
63-
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
63+
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
6464
with:
6565
path: |
6666
.cache/phpcs-src.json

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
7373

7474
- name: Set up Node.js
75-
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
75+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
7676
with:
7777
node-version-file: '.nvmrc'
7878
cache: npm

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
3131

3232
- name: Set up Node.js
33-
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
33+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
3434
with:
3535
node-version-file: '.nvmrc'
3636
cache: npm

.github/workflows/reusable-performance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
run: echo "TARGET_SHA=$(git rev-parse HEAD^1)" >> $GITHUB_ENV
123123

124124
- name: Set up Node.js
125-
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
125+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
126126
with:
127127
node-version-file: '.nvmrc'
128128
cache: npm

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
run: echo "date=$(/bin/date -u --date='last Mon' "+%F")" >> $GITHUB_OUTPUT
5959

6060
- name: Cache PHP compatibility scan cache
61-
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
61+
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
6262
with:
6363
path: .cache/phpcompat.json
6464
key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-php-${{ inputs.php-version }}-phpcompat-cache-${{ hashFiles('**/composer.json', 'phpcompat.xml.dist') }}

.github/workflows/reusable-phpunit-tests-v1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
9696

9797
- name: Set up Node.js
98-
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
98+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
9999
with:
100100
node-version-file: '.nvmrc'
101101
cache: npm
@@ -108,7 +108,7 @@ jobs:
108108

109109
- name: Cache Composer dependencies
110110
if: ${{ env.COMPOSER_INSTALL == true }}
111-
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
111+
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
112112
env:
113113
cache-name: cache-composer-dependencies
114114
with:

0 commit comments

Comments
 (0)