aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/lint.yml
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-14 18:29:09 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-14 22:11:41 +0200
commit9e6fcd585b5632834279cfa38d33d7c79f5197e9 (patch)
tree95342168df81af7599ff38593125c82a0e70f4c8 /.github/workflows/lint.yml
parent833d1d2c3b12b36332ee342e3c228191fb96b4c3 (diff)
downloadnextcloud-server-9e6fcd585b5632834279cfa38d33d7c79f5197e9.tar.gz
nextcloud-server-9e6fcd585b5632834279cfa38d33d7c79f5197e9.zip
Show a hint for the php-cs fix when the check fails
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r--.github/workflows/lint.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index a6ff39144b4..4de6de68656 100644
--- a/.github/workflows/lint.yml
+++ b/.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 )