Fix compatibility with component-model 4.0 #42
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: | |
| pull_request: | |
| jobs: | |
| parallel-lint: | |
| name: ๐ Parallel lint | |
| runs-on: 'ubuntu-latest' | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: | |
| - "8.2" | |
| - "8.3" | |
| - "8.4" | |
| dependencies: | |
| - "highest" | |
| steps: | |
| - name: โฌ๏ธ Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: ๐ Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| coverage: none | |
| - name: ๐ฅ Install dependencies | |
| uses: ramsey/composer-install@v3 | |
| with: | |
| dependency-versions: "${{ matrix.dependencies }}" | |
| - name: ๐ Parallel lint | |
| run: php ./vendor/bin/parallel-lint -e php,phpt --exclude ./.git --exclude ./vendor . | |
| phpstan: | |
| name: ๐ฉ๏ธ๏ธ PHPStan | |
| runs-on: 'ubuntu-latest' | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: | |
| - "8.2" | |
| - "8.3" | |
| - "8.4" | |
| dependencies: | |
| - "lowest" | |
| - "highest" | |
| steps: | |
| - name: โฌ๏ธ Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: ๐ Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| coverage: none | |
| - name: ๐ฅ Install dependencies | |
| uses: ramsey/composer-install@v3 | |
| with: | |
| dependency-versions: "${{ matrix.dependencies }}" | |
| - name: ๐ฉ๏ธ๏ธ PHPStan | |
| run: php ./vendor/bin/phpstan --ansi | |
| ecs: | |
| name: โ๏ธ๏ธ ECS | |
| runs-on: 'ubuntu-latest' | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: | |
| - "8.2" | |
| - "8.3" | |
| - "8.4" | |
| dependencies: | |
| - "highest" | |
| steps: | |
| - name: โฌ๏ธ Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: ๐ Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| coverage: none | |
| - name: ๐ฅ Install dependencies | |
| uses: ramsey/composer-install@v3 | |
| with: | |
| dependency-versions: "${{ matrix.dependencies }}" | |
| - name: โ๏ธ๏ธ ECS | |
| run: php ./vendor/bin/ecs | |
| rector: | |
| name: ๐ ๏ธ Rector | |
| runs-on: 'ubuntu-latest' | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: | |
| - "8.2" | |
| - "8.3" | |
| - "8.4" | |
| dependencies: | |
| - "highest" | |
| steps: | |
| - name: โฌ๏ธ Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: ๐ Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| coverage: none | |
| - name: ๐ฅ Install dependencies | |
| uses: ramsey/composer-install@v3 | |
| with: | |
| dependency-versions: "${{ matrix.dependencies }}" | |
| - name: ๐ ๏ธ Rector | |
| run: php ./vendor/bin/rector process --dry-run --ansi | |
| tester: | |
| name: ๐งฎ Tester | |
| runs-on: 'ubuntu-latest' | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: | |
| - "8.2" | |
| - "8.3" | |
| - "8.4" | |
| dependencies: | |
| - "lowest" | |
| - "highest" | |
| steps: | |
| - name: โฌ๏ธ Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: ๐ Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| coverage: xdebug | |
| - name: ๐ฅ Install dependencies | |
| uses: ramsey/composer-install@v3 | |
| with: | |
| dependency-versions: "${{ matrix.dependencies }}" | |
| - name: ๐งฎ Tester | |
| run: php ./vendor/bin/tester -s -p php --colors 1 -C ./tests/Replicator |