Skip to content

Commit

Permalink
ENH Run php parallel lint if it's installed
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Jul 1, 2024
1 parent 4727315 commit 75a94fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 75a94fc

Please sign in to comment.