[Backport stable27] Fix Notifications not being processed #221 #331
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Static analysis (PSALM) | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- stable* | |
jobs: | |
static-psalm-analysis: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ocp-version: [ 'dev-master' ] | |
php-version: [ '8.0', '8.1', '8.2' ] | |
name: Nextcloud ${{ matrix.ocp-version }} PHP${{ matrix.php-version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Set up php | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
coverage: none | |
- name: Install dependencies | |
run: composer i | |
- name: Install dependencies | |
run: composer require --dev nextcloud/ocp:${{ matrix.ocp-version }} | |
- name: Run coding standards check | |
run: composer run psalm -- --php-version=${{ matrix.php-version }} |