This commit is contained in:
parent
9e67ed202b
commit
b9348c9e91
2 changed files with 5 additions and 5 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
name: lint
|
name: lint
|
||||||
run-name: lint is launched by ${{ github.actor }}
|
run-name: lint is launched by ${{ github.actor }}
|
||||||
on: [push]
|
on: [push]
|
||||||
|
@ -18,10 +19,9 @@ jobs:
|
||||||
composer config --no-interaction allow-plugins.bamarni/composer-bin-plugin true
|
composer config --no-interaction allow-plugins.bamarni/composer-bin-plugin true
|
||||||
composer require --dev bamarni/composer-bin-plugin
|
composer require --dev bamarni/composer-bin-plugin
|
||||||
composer bin phplint require --dev overtrue/phplint
|
composer bin phplint require --dev overtrue/phplint
|
||||||
composer require --dev friendsofphp/php-cs-fixer
|
composer require --dev friendsofphp/php-cs-fixer==2.19.0 --with-all-dependencies
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: vendor/bin/phplint --no-cache --no-progress --exclude=vendor --verbose
|
run: vendor/bin/phplint --no-cache --no-progress --exclude=vendor --verbose
|
||||||
- name: PHP CS Fixer
|
- name: PHP CS Fixer
|
||||||
run: vendor/bin/php-cs-fixer fix --dry-run --verbose --diff .
|
run: PHP_CS_FIXER_IGNORE_ENV=yes vendor/bin/php-cs-fixer fix --dry-run --verbose --diff .
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue