Skip to content

Commit

Permalink
Use composer only
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-mendonca committed Jul 16, 2024
1 parent 512942c commit 2ff99ff
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/plugin-check-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,6 @@ jobs:
# Test action.
#

- name: Install WP-CLI
run: |
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
mkdir -p bin
mv wp-cli.phar bin/wp
echo "${PWD}/bin" >> $GITHUB_PATH
shell: bash

- name: WP-CLI Info
run: wp cli info
shell: bash

- name: Set PLUGIN_DIR
run: |
PLUGIN_DIR=$(realpath "$BUILD_DIR")
Expand All @@ -96,7 +83,8 @@ jobs:
WP_VERSION: 'null'

- name: Install the latest WP-CLI Command Extension
run: wp-env run cli wp cli update --nightly
run: |
composer require --dev wp-cli/extension-command
- name: Run Plugin Check
run: |
Expand Down

0 comments on commit 2ff99ff

Please sign in to comment.