Fixed ruleset versioning #52
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: CI | |
| on: | |
| push: | |
| branches: | |
| - '[0-9]+.[0-9]+' | |
| - main | |
| pull_request: ~ | |
| jobs: | |
| tests: | |
| name: Tests | |
| runs-on: "ubuntu-22.04" | |
| timeout-minutes: 5 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: | |
| - '7.4' | |
| - '8.0' | |
| - '8.1' | |
| - '8.3' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup PHP Action | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| coverage: none | |
| extensions: pdo_sqlite, gd | |
| tools: cs2pr | |
| - uses: ramsey/composer-install@v3 | |
| with: | |
| dependency-versions: "highest" | |
| composer-options: "--prefer-dist --no-progress --no-suggest" | |
| - name: Run PHPStan analysis | |
| run: composer run-script phpstan | |
| - name: Run tests suite | |
| run: composer run-script test | |
| - name: Run code style check | |
| run: composer run-script check-cs -- --format=checkstyle | cs2pr |