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

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2022-08-31 09:17:40 +0300
committerdartcafe <github@dartcafe.de>2022-08-31 09:17:40 +0300
commitd6097170dff53e6b3d2c2140e4c8966d9b2c9215 (patch)
treeccd5766d2cab14cd8377f433a3b51393fa67e60e /.github
parent12695e186ed2ef4d11f7e664152651d6932a7e65 (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.yml28
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