Merge pull request #150 from Runroom/hotfix/doctrine #1121
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: QA | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
php: | |
name: PHP ${{ matrix.php }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: ['8.2'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: zip, pdo_sqlite, gd | |
coverage: none | |
tools: cs2pr | |
- uses: ramsey/composer-install@v2 | |
- run: composer php-cs-fixer -- --dry-run --format=checkstyle | cs2pr | |
- run: vendor/bin/phpunit | |
- run: composer phpstan | |
- run: composer psalm -- --php-version=${{ matrix.php }} --threads=$(nproc) --output-format=github --shepherd | |
- run: composer normalize-run -- --dry-run --diff | |
- run: composer validate --strict | |
- run: composer rector -- --dry-run | |
- run: bin/console lint:container | |
- run: bin/console lint:twig packages | |
- run: bin/console lint:xliff packages | |
- run: bin/console lint:yaml packages | |
- run: vendor/bin/monorepo-builder validate |