Run cs:check a second time to show diff

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2020-07-14 18:29:40 +02:00
parent 8f78205be0
commit 08cb4b8172
No known key found for this signature in database
GPG Key ID: 36E3664E099D0614
1 changed files with 4 additions and 1 deletions

View File

@ -34,4 +34,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: composer i run: composer i
- name: Run coding standards check - name: Run coding standards check
run: composer run cs:check -- --format=checkstyle | cs2pr run: |
composer run cs:check -- --format=checkstyle | cs2pr
composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
shell: bash {0}