]> source.dussan.org Git - nextcloud-server.git/commitdiff
Report php-cs-fixer errors to GitHub 21813/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Mon, 13 Jul 2020 13:31:44 +0000 (15:31 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Mon, 13 Jul 2020 14:04:31 +0000 (16:04 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
.github/workflows/lint.yml

index 4de6de686568a4186d9a110dd729ebc22d73c4e4..5680873555f490a1503c99e0544e3170cb729e1e 100644 (file)
@@ -30,7 +30,8 @@ jobs:
       with:
         php-version: 7.4
         coverage: none
+        tools: cs2pr
     - name: Install dependencies
       run: composer i
     - name: Run coding standards check
-      run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
+      run: composer run cs:check -- --format=checkstyle | cs2pr