diff options
author | dartcafe <github@dartcafe.de> | 2021-05-08 23:20:13 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-05-08 23:20:13 +0300 |
commit | bea7ebd0c214a6ee17d6a1750b8ec8d3d9c189fe (patch) | |
tree | d9ce9dd944d397f5a5ac25e63043c2e3853e4756 /.github | |
parent | 6d0058ca1eb0ef936b75cae2d7339887716b4bea (diff) |
try github action
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/static-analysis.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml new file mode 100644 index 00000000..9d492626 --- /dev/null +++ b/.github/workflows/static-analysis.yml @@ -0,0 +1,30 @@ +name: Static analysis
+
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+ - stable*
+
+jobs:
+ static-psalm-analysis:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ ocp-version: [ '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
|