Skip to content

Commit

Permalink
Use latest extension-command
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-mendonca committed Jul 16, 2024
1 parent 888516e commit d45df31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/plugin-check-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ jobs:
env:
WP_VERSION: 'null'

- name: Install the latest WP-CLI Command Extension
run: composer require wp-cli/extension-command --dev

- name: Run Plugin Check
run: |
CHECKS="${CHECKS//$'\n'/,}"
Expand All @@ -103,9 +106,6 @@ jobs:
EXCLUDE_DIRS="${EXCLUDE_DIRS//$'\n'/,}"
ADDITIONAL_ARGS="$CHECKS $EXCLUDE_CHECKS $CATEGORIES $IGNORE_WARNINGS $IGNORE_ERRORS $INCLUDE_EXPERIMENTAL $EXCLUDE_DIRS"
# Upgrade to the latest wp-cli/extension-command
wp-env run cli wp package install [email protected]:wp-cli/extension-command.git
# TODO: Install dependencies first, see https://github.com/wordpress/plugin-check-action/issues/66
# Get plugin dependencies
wp-env run cli wp plugin get $PLUGIN_SLUG --field=requires_plugins --format=json
Expand Down

0 comments on commit d45df31

Please sign in to comment.