Skip to content

Merge branch 'master' of https://github.com/nextcloud/polls #3611

Merge branch 'master' of https://github.com/nextcloud/polls

Merge branch 'master' of https://github.com/nextcloud/polls #3611

name: Static analysis
on:
pull_request:
push:
branches:
- master
- stable*
jobs:
psalm-master:
runs-on: ubuntu-latest
strategy:
matrix:
ocp-version: ['stable27']
php-versions: ['8.0', '8.1', '8.2']
name: Psalm
steps:
- uses: actions/checkout@v3
- 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 nextcloud/ocp:dev-${{ matrix.ocp-version }}
- name: Install symfony/console
run: composer require symfony/console
- name: Run coding standards check
run: composer run psalm