diff --git a/.github/workflows/install-testing.yml b/.github/workflows/install-testing.yml index d69dc103d2d3a..9f814eccaf91d 100644 --- a/.github/workflows/install-testing.yml +++ b/.github/workflows/install-testing.yml @@ -58,6 +58,7 @@ jobs: # Performs the following steps: # - Sets up PHP. # - Downloads the specified version of WordPress. + # - Verifies files against WordPress.org’s checksums. # - Creates a `wp-config.php` file. # - Installs WordPress. install-tests-mysql: @@ -129,6 +130,9 @@ jobs: env: WP_VERSION: ${{ inputs.wp-version || 'nightly' }} + - name: Verify checksums + run: wp core verify-checksums + - name: Create wp-config.php file run: wp config create --dbname=test_db --dbuser=root --dbpass=root --dbhost="127.0.0.1:${DB_PORT}" env: diff --git a/.github/workflows/reusable-upgrade-testing.yml b/.github/workflows/reusable-upgrade-testing.yml index 169abe20006a4..f82dc6be9cf2d 100644 --- a/.github/workflows/reusable-upgrade-testing.yml +++ b/.github/workflows/reusable-upgrade-testing.yml @@ -47,6 +47,7 @@ jobs: # Performs the following steps: # - Sets up PHP. # - Downloads the specified version of WordPress. + # - Verifies files against WordPress.org’s checksums. # - Creates a `wp-config.php` file. # - Installs WordPress. # - Checks the version of WordPress before the upgrade. @@ -89,6 +90,9 @@ jobs: env: WP_VERSION: ${{ inputs.wp }} + - name: Verify checksums + run: wp core verify-checksums + - name: Create wp-config.php file run: wp config create --dbname=test_db --dbuser=root --dbpass=root --dbhost="127.0.0.1:${DB_PORT}" env: