update static analysis to php 8.1
Signed-off-by: dartcafe <github@dartcafe.de>
This commit is contained in:
Родитель
12695e186e
Коммит
d6097170df
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче