summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-14 17:44:08 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-14 17:44:08 +0200
commitc9980ed099d820f56c2c50151af8fd0af0135d77 (patch)
tree6cf91736bd977677dc3f7a4c628290477145e97e /.github
parentd7a74d0e35798364fcf62ea6f89d38c0f53184ea (diff)
downloadnextcloud-server-c9980ed099d820f56c2c50151af8fd0af0135d77.tar.gz
nextcloud-server-c9980ed099d820f56c2c50151af8fd0af0135d77.zip
Add php-cs check action
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index ca027676da0..a6ff39144b4 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -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