-
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 branch 'develop' into add/users-last-seen
- Loading branch information
Showing
218 changed files
with
12,673 additions
and
18,282 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,8 +60,12 @@ runs: | |
echo "ini=apc.enable_cli=1, opcache.enable_cli=1" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Install svn | ||
run: sudo apt-get update && sudo apt-get install -y subversion | ||
shell: bash | ||
|
||
- name: Set up PHP | ||
uses: shivammathur/setup-php@2.31.0 | ||
uses: shivammathur/setup-php@2.32.0 | ||
with: | ||
coverage: ${{ steps.coverage.outputs.coverage }} | ||
ini-values: ${{ steps.coverage.outputs.ini }} | ||
|
@@ -80,7 +84,7 @@ runs: | |
uses: ramsey/[email protected] | ||
|
||
- name: Set up WordPress and WordPress Test Library | ||
uses: sjinks/setup-wordpress-test-library@2.0.2 | ||
uses: sjinks/setup-wordpress-test-library@v2.1.3 | ||
with: | ||
version: ${{ inputs.wordpress }} | ||
|
||
|
@@ -122,7 +126,7 @@ runs: | |
"${PHPUNIT}" ${OPTIONS} | ||
- name: Upload coverage report | ||
uses: codecov/codecov-action@v4.5.0 | ||
uses: codecov/codecov-action@v5.1.2 | ||
with: | ||
files: ${{ inputs.coverage-file }} | ||
flags: ${{ inputs.coverage-flags }} | ||
|
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
egress-policy: audit | ||
|
||
- name: Check out source code | ||
uses: actions/checkout@v4.1.7 | ||
uses: actions/checkout@v4.2.2 | ||
|
||
- name: Retrieve tags | ||
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | ||
|
@@ -50,7 +50,7 @@ jobs: | |
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: softprops/action-gh-release@v2.0.6 | ||
- uses: softprops/action-gh-release@v2.2.0 | ||
with: | ||
generate_release_notes: true | ||
tag_name: ${{ steps.id-generator.outputs.id }} | ||
|
@@ -61,7 +61,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4.1.7 | ||
uses: actions/checkout@v4.2.2 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/[email protected] | ||
|
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4.1.7 | ||
uses: actions/checkout@v4.2.2 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/[email protected] | ||
|
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
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 |
---|---|---|
|
@@ -20,10 +20,13 @@ permissions: | |
contents: read | ||
|
||
env: | ||
LOCAL_PHP: "8.0-fpm" | ||
LOCAL_PHP: "8.2-fpm" | ||
LOCAL_PHP_XDEBUG: "false" | ||
LOCAL_PHP_XDEBUG_MODE: "develop,debug" | ||
LOCAL_DB_TYPE: "mysql" | ||
LOCAL_DB_VERSION: "8.0" | ||
LOCAL_DB_VERSION: "8.3" | ||
LOCAL_PHP_MEMCACHED: "true" | ||
LOCAL_WP_TESTS_DOMAIN: "example.org" | ||
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: "true" | ||
|
||
jobs: | ||
|
@@ -42,25 +45,26 @@ jobs: | |
echo "PHP_FPM_GID=$(id -g)" >> "${GITHUB_ENV}" | ||
- name: Checkout WordPress | ||
uses: actions/checkout@v4.1.7 | ||
uses: actions/checkout@v4.2.2 | ||
with: | ||
repository: wordpress/wordpress-develop | ||
path: wordpress | ||
ref: ${{ steps.version.outputs.latest }} | ||
|
||
- name: Check out source code | ||
uses: actions/checkout@v4.1.7 | ||
uses: actions/checkout@v4.2.2 | ||
with: | ||
submodules: recursive | ||
path: wordpress/src/wp-content/mu-plugins | ||
|
||
- name: Tweaks | ||
run: | | ||
echo "define( 'VIP_JETPACK_SKIP_LOAD', 'true' );" >> "wordpress/src/wp-content/mu-plugins/000-vip-init.php" | ||
cp wordpress/.env.example wordpress/.env | ||
echo "GITHUB_EVENT_NAME=pull_request" >> "wordpress/.env" | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v4.0.2 | ||
uses: actions/setup-node@v4.1.0 | ||
with: | ||
node-version-file: 'wordpress/.nvmrc' | ||
cache: npm | ||
|
@@ -72,17 +76,10 @@ jobs: | |
php-version: 8.0 | ||
coverage: none | ||
|
||
# - name: Install Composer dependencies | ||
# uses: ramsey/composer-install@83af392bf5f031813d25e6fe4cd626cdba9a2df6 # v2.2.0 | ||
# with: | ||
# working-directory: wordpress | ||
- name: Install Composer dependencies | ||
run: composer install -n | ||
working-directory: wordpress | ||
|
||
# - name: Downgrade PHPUnit | ||
# run: composer require --dev -n phpunit/phpunit:^9 | ||
# working-directory: wordpress | ||
uses: ramsey/[email protected] | ||
with: | ||
working-directory: wordpress | ||
|
||
- name: Install npm dependencies | ||
run: npm ci | ||
|
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
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
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out source code | ||
uses: actions/checkout@v4.1.7 | ||
uses: actions/checkout@v4.2.2 | ||
|
||
- name: Set up PHP | ||
uses: shivammathur/[email protected] | ||
|
@@ -35,7 +35,7 @@ jobs: | |
fail-fast: 'true' | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4.0.2 | ||
uses: actions/setup-node@v4.1.0 | ||
with: | ||
node-version: 'lts/*' | ||
cache: npm | ||
|
@@ -51,10 +51,10 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out source code | ||
uses: actions/checkout@v4.1.7 | ||
uses: actions/checkout@v4.2.2 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4.0.2 | ||
uses: actions/setup-node@v4.1.0 | ||
with: | ||
node-version: 'lts/*' | ||
cache: npm | ||
|
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
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.