Add Symfony 8 support and test against all LTS versions #328
Workflow file for this run
This file contains hidden or 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: Code Checks | |
| on: | |
| pull_request: null | |
| push: | |
| branches: | |
| - '3.*' | |
| jobs: | |
| code_checks: | |
| strategy: | |
| matrix: | |
| actions: | |
| - | |
| name: 'PHPStan' | |
| run: composer phpstan | |
| - | |
| name: 'Coding Standard' | |
| run: composer check-cs | |
| - | |
| name: 'Rector' | |
| run: vendor/bin/rector process --dry-run --ansi | |
| - | |
| name: 'Commented PHP Code' | |
| run: vendor/bin/easy-ci check-commented-code src tests --line-limit 3 | |
| name: ${{ matrix.actions.name }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.1 | |
| extensions: pdo_sqlite, pdo_mysql, pdo_pgsql | |
| coverage: none | |
| - run: composer install --no-progress | |
| - run: ${{ matrix.actions.run }} |