-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6105 from Automattic/staging
Production release: v20250121.0
- Loading branch information
Showing
10 changed files
with
186 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ env: | |
|
||
jobs: | ||
build: | ||
if: "!contains(github.event.head_commit.message, '[ci skip]')" | ||
name: Run Grunt tasks | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -24,7 +23,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
caching: true | ||
cache: npm | ||
|
||
- name: Install dependencies | ||
run: npm ci --ignore-scripts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,13 +12,15 @@ jobs: | |
test: | ||
name: Run tests | ||
runs-on: ubuntu-latest | ||
if: "!contains(github.event.head_commit.message, '[ci skip]')" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php: | ||
- "7.4" | ||
- "8.0" | ||
- "8.1" | ||
- "8.2" | ||
- "8.3" | ||
- "8.4" | ||
wpmu: | ||
- "0" | ||
- "1" | ||
|
@@ -34,6 +36,9 @@ jobs: | |
- 3306 | ||
options: --health-cmd="healthcheck.sh --innodb_initialized" --health-interval=5s --health-timeout=2s --health-retries=3 | ||
steps: | ||
- name: Install svn | ||
run: sudo apt-get update && sudo apt-get install -y subversion | ||
|
||
- name: Check out source code | ||
uses: actions/[email protected] | ||
|
||
|
@@ -42,24 +47,8 @@ jobs: | |
with: | ||
php-version: ${{ matrix.php }} | ||
|
||
- name: Get composer cache directory | ||
id: composer-cache | ||
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | ||
|
||
- name: Cache Composer packages | ||
uses: actions/[email protected] | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-php-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-php-${{ matrix.php }} | ||
${{ runner.os }}-php- | ||
- name: Validate composer.json and composer.lock | ||
run: composer validate | ||
|
||
- name: Install dependencies | ||
run: composer install --prefer-dist --no-progress --no-interaction --ignore-platform-reqs | ||
- name: Install PHP Dependencies | ||
uses: ramsey/[email protected] | ||
|
||
- name: Verify MariaDB connection | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,32 +12,17 @@ jobs: | |
codestyle: | ||
name: Run code style check | ||
runs-on: ubuntu-latest | ||
if: "!contains(github.event.head_commit.message, '[ci skip]')" | ||
steps: | ||
- name: Check out source code | ||
uses: actions/[email protected] | ||
|
||
- name: Set up PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 7.4 | ||
php-version: 8.1 | ||
|
||
- name: Get composer cache directory | ||
id: composer-cache | ||
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | ||
|
||
- name: Cache Composer packages | ||
uses: actions/[email protected] | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-php-7.4-${{ hashFiles('**/composer.lock') }} | ||
restore-keys: ${{ runner.os }}-php-7.4 | ||
|
||
- name: Validate composer.json and composer.lock | ||
run: composer validate | ||
|
||
- name: Install dependencies | ||
run: composer install --prefer-dist --no-progress --no-interaction --ignore-platform-reqs | ||
- name: Install PHP Dependencies | ||
uses: ramsey/[email protected] | ||
|
||
- name: Add error matcher | ||
run: echo "::add-matcher::$(pwd)/.github/checkstyle-problem-matcher.json" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.