Skip to content

Commit

Permalink
Use stable version of Plugin Check (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Feb 14, 2024
1 parent 7018384 commit 842df18
Showing 1 changed file with 1 addition and 18 deletions.
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

0 comments on commit 842df18

Please sign in to comment.