Merge pull request #100 from prestaconcept/release/v4.0 #17
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: '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' |