Skip to content

Merge commit '9be4b7340bb25139dcee421d31724993b9d17cba' into develop #542

Merge commit '9be4b7340bb25139dcee421d31724993b9d17cba' into develop

Merge commit '9be4b7340bb25139dcee421d31724993b9d17cba' into develop #542

Workflow file for this run

name: Code Quality
on:
push:
branches:
- develop
- main
pull_request:
branches:
- develop
- main
jobs:
run:
runs-on: ubuntu-latest
name: Check code
strategy:
matrix:
php: [ 8.1 ]
steps:
- name: Cancel previous runs of this workflow (pull requests only)
if: ${{ github.event_name == 'pull_request' }}
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Install dependencies
uses: ramsey/composer-install@v2
with:
composer-options: "--no-progress"
- name: Run PHPStan
run: composer run-script phpstan