Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-10-09 12:28:46 +0300
committerJoas Schilling <coding@schilljs.com>2020-10-09 12:28:46 +0300
commit3b9deaae794e3df1791cf61dcea31e91139558e1 (patch)
tree688ad30dbfc4f5cc2b5589d2fedfdeef67ee2a69 /.github
parent5491c1accbd30013c0930d211dabb382aca7472e (diff)
Add Psalm
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/psalm.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml
new file mode 100644
index 000000000..266433788
--- /dev/null
+++ b/.github/workflows/psalm.yml
@@ -0,0 +1,23 @@
+name: Static analysis
+on: [push]
+jobs:
+static-psalm-analysis:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ ocp-version: [ 'dev-master' ]
+ name: Nextcloud ${{ matrix.ocp-version }}
+ 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: Install dependencies
+ run: composer require --dev christophwurst/nextcloud:${{ matrix.ocp-version }}
+ - name: Run coding standards check
+ run: composer run psalm