From 8ec54a626451b3e0d13dc51968558047b6c80a28 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Tue, 2 Jul 2024 11:54:09 +1200 Subject: [PATCH] ENH Run php parallel lint if it's installed --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index 5713318..ef1747a 100644 --- a/action.yml +++ b/action.yml @@ -238,6 +238,10 @@ runs: if: ${{ inputs.phplinting == 'true' }} shell: bash run: | + if [[ -f vendor/bin/parallel-lint ]]; then + echo "Running parallel-lint" + vendor/bin/parallel-lint --exclude vendor --exclude .git . + fi echo "Running PHPCS" if ! [[ -f phpcs.xml ]] && ! [[ -f phpcs.xml.dist ]]; then echo "Missing phpcs.xml or phpcs.xml.dist"