From 888516e4a374fc785d8e7c274611ec71a4646f30 Mon Sep 17 00:00:00 2001 From: pedro-mendonca Date: Tue, 16 Jul 2024 11:12:07 +0100 Subject: [PATCH] Upgrade to the latest wp-cli/extension-command to get optional fields --- .github/workflows/plugin-check-local.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/plugin-check-local.yml b/.github/workflows/plugin-check-local.yml index 8a9a847..9f36cda 100644 --- a/.github/workflows/plugin-check-local.yml +++ b/.github/workflows/plugin-check-local.yml @@ -103,6 +103,9 @@ 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 git@github.com: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