Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use stable version of Plugin Check #33

Merged
merged 2 commits into from
Feb 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 1 addition & 18 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,23 +69,6 @@ runs:
run: wp cli info
shell: bash

- name: Checkout Plugin Check
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: 'WordPress/plugin-check'
path: 'plugin-check'

- name: Build Plugin Check
run: |
composer install
shell: bash
working-directory: 'plugin-check'

- name: Move Plugin Check out of plugin folder
run: |
mv plugin-check ${{ runner.temp }}/plugin-check
shell: bash

- name: Set PLUGIN_DIR
run: |
PLUGIN_DIR=$(realpath "$BUILD_DIR")
Expand All @@ -101,7 +84,7 @@ runs:
run: |
touch .wp-env.json
> .wp-env.json
echo "{ \"core\": null, \"port\": 8880, \"testsPort\": 8881, \"plugins\": [ \"$PLUGIN_DIR\", \"${{ runner.temp }}/plugin-check\" ] }" >> .wp-env.json
echo "{ \"core\": null, \"port\": 8880, \"testsPort\": 8881, \"plugins\": [ \"$PLUGIN_DIR\", \"plugin-check\" ] }" >> .wp-env.json

npm -g i @wordpress/env
wp-env start --update
Expand Down
Loading