summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-07-15 16:19:59 +0200
committerGitHub <noreply@github.com>2020-07-15 16:19:59 +0200
commite27f8aa3e5adc23ecf26c3ae5500ae8ce741e190 (patch)
treef26fa643db72723554d90161cb9ee6f06eb0eb77
parentf30ecbfadde03fffc9f7a357390b25c060acf8c0 (diff)
parent08cb4b81726be285e44003d58b11f91eb23dd1d2 (diff)
downloadnextcloud-server-e27f8aa3e5adc23ecf26c3ae5500ae8ce741e190.tar.gz
nextcloud-server-e27f8aa3e5adc23ecf26c3ae5500ae8ce741e190.zip
Merge pull request #21837 from nextcloud/enh/noid/also-show-cs-diff
Run cs:check a second time to show diff
-rw-r--r--.github/workflows/lint.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 5680873555f..39809b88deb 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -34,4 +34,7 @@ jobs:
- name: Install dependencies
run: composer i
- 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}