mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
feat(check-extension): prefer phpcs conf if it exists
This commit is contained in:
@@ -187,7 +187,11 @@ jobs:
|
||||
- name: Coding Standard Check
|
||||
shell: bash
|
||||
run: |
|
||||
if [ -f .phpcs.xml ] || [ -f phpcs.xml ] || [ -f .phpcs.xml.dist ] || [ -f phpcs.xml.dist ]; then
|
||||
./vendor/bin/phpcs .
|
||||
else
|
||||
./vendor/bin/phpcs --standard=Magento2 --ignore=*vendor/* .
|
||||
fi
|
||||
working-directory: ${{ inputs.path }}
|
||||
|
||||
integration_test:
|
||||
|
||||
Reference in New Issue
Block a user