Skip to content

Bump GitHub quality and tests actions to Symfony 6.3 and PHP 8.2 #13

Bump GitHub quality and tests actions to Symfony 6.3 and PHP 8.2

Bump GitHub quality and tests actions to Symfony 6.3 and PHP 8.2 #13

Workflow file for this run

name: 'Quality'
on:
push:
branches: ['*']
jobs:
phpcs:
name: 'PHP CodeSniffer'
runs-on: 'ubuntu-latest'
env:
SYMFONY_REQUIRE: '${{matrix.symfony-require}}'
strategy:
matrix:
php-version: ['7.4', '8.0', '8.1', '8.2']
symfony-require: ['5.4.*', '6.0.*', '6.1.*', '6.2.*', '6.3.*']
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 PHP CodeSniffer'
run: 'vendor/bin/phpcs -p'
phpstan:
name: 'PHPStan'
runs-on: 'ubuntu-latest'
env:
SYMFONY_REQUIRE: '${{matrix.symfony-require}}'
strategy:
matrix:
php-version: ['7.4', '8.0', '8.1', '8.2']
symfony-require: ['5.4.*', '6.0.*', '6.1.*', '6.2.*', '6.3.*']
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'