Browse Source

Show a hint for the php-cs fix when the check fails

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Christoph Wurst 4 years ago
parent
commit
9e6fcd585b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/lint.yml

+ 1 - 1
.github/workflows/lint.yml

@@ -33,4 +33,4 @@ jobs:
     - name: Install dependencies
       run: composer i
     - name: Run coding standards check
-      run: composer run cs:check
+      run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )