diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-07-14 18:29:40 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-07-15 15:35:58 +0200 |
commit | 08cb4b81726be285e44003d58b11f91eb23dd1d2 (patch) | |
tree | 223fef72ac44b7652a2206d193e1417b18779bb2 /.github | |
parent | 8f78205be076aab99e3ce7e848b1e31541df6b7c (diff) | |
download | nextcloud-server-08cb4b81726be285e44003d58b11f91eb23dd1d2.tar.gz nextcloud-server-08cb4b81726be285e44003d58b11f91eb23dd1d2.zip |
Run cs:check a second time to show diff
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/lint.yml | 5 |
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} |