]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add php-cs check action
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 14 Apr 2020 15:44:08 +0000 (17:44 +0200)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 14 Apr 2020 15:44:08 +0000 (17:44 +0200)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
.github/workflows/lint.yml

index ca027676da0086331eaefe45dae9b76d9e9876f1..a6ff39144b43215363a85d741c376e1049f94c97 100644 (file)
@@ -18,3 +18,19 @@ jobs:
         coverage: none
     - name: Lint
       run: composer run lint
+
+  php-cs-fixer:
+    name: php-cs check
+    runs-on: ubuntu-latest
+    steps:
+    - name: Checkout
+      uses: actions/checkout@master
+    - name: Set up php
+      uses: shivammathur/setup-php@master
+      with:
+        php-version: 7.4
+        coverage: none
+    - name: Install dependencies
+      run: composer i
+    - name: Run coding standards check
+      run: composer run cs:check