diff options
author | dartcafe <github@dartcafe.de> | 2022-08-31 09:17:40 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2022-08-31 09:17:40 +0300 |
commit | d6097170dff53e6b3d2c2140e4c8966d9b2c9215 (patch) | |
tree | ccd5766d2cab14cd8377f433a3b51393fa67e60e /.github | |
parent | 12695e186ed2ef4d11f7e664152651d6932a7e65 (diff) |
update static analysis to php 8.1
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/static-analysis.yml | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index d0c5a142..b8793eed 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -8,11 +8,11 @@ on: - stable*
jobs:
- psalm:
+ psalm-22:
runs-on: ubuntu-latest
strategy:
matrix:
- ocp-version: [ 'dev-master', 'dev-stable22' ]
+ ocp-version: [ 'dev-stable22' ]
php-versions: ['7.4', '8.0']
name: Psalm
@@ -31,3 +31,27 @@ jobs: - name: Run coding standards check
run: composer run psalm
+
+ psalm-master:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ ocp-version: [ 'dev-master']
+ php-versions: ['7.4', '8.0', '8.1']
+
+ name: Psalm
+
+ steps:
+ - uses: actions/checkout@master
+
+ - name: Setup composer and PHP
+ uses: ./.github/actions/setup-composer
+ with:
+ php-version: ${{ matrix.php-versions }}
+ php-tools: composer, psalm
+
+ - name: Install Nextcloud API
+ run: composer require --dev christophwurst/nextcloud:${{ matrix.ocp-version }}
+
+ - name: Run coding standards check
+ run: composer run psalm
|