Skip to content

Merge pull request #100 from prestaconcept/release/v4.0 #17

Merge pull request #100 from prestaconcept/release/v4.0

Merge pull request #100 from prestaconcept/release/v4.0 #17

Workflow file for this run

name: 'Quality'
on:
push
jobs:
ecs:
name: 'Easy Coding Standard'
runs-on: 'ubuntu-latest'
env:
SYMFONY_REQUIRE: '${{matrix.symfony-require}}'
strategy:
matrix:
php-version: ['8.1', '8.2', '8.3']
symfony-require: ['5.4.*', '6.4.*', '7.0.*']
steps:
- name: 'Setup PHP'
uses: 'shivammathur/setup-php@v2'
with:
php-version: '${{ matrix.php-version }}'
coverage: 'none'
- name: 'Checkout sources'
uses: 'actions/checkout@v3'
- name: 'Install dependencies'
run: 'composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist'
- name: 'Execute Easy Coding Standard'
run: 'vendor/bin/ecs'
phpstan:
name: 'PHPStan'
runs-on: 'ubuntu-latest'
env:
SYMFONY_REQUIRE: '${{matrix.symfony-require}}'
strategy:
matrix:
php-version: ['8.1', '8.2', '8.3']
symfony-require: ['5.4.*', '6.4.*', '7.0.*']
steps:
- name: 'Setup PHP'
uses: 'shivammathur/setup-php@v2'
with:
php-version: '${{ matrix.php-version }}'
coverage: 'none'
- name: 'Checkout sources'
uses: 'actions/checkout@v3'
- name: 'Install dependencies'
run: 'composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist'
- name: 'Execute PHPStan'
run: 'vendor/bin/phpstan'