remove deprecations in workflow #3
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 ] | |
| jobs: | |
| phpstan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.2 | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install the dependencies | |
| uses: ramsey/composer-install@v3 | |
| with: | |
| composer-options: "--no-plugins" | |
| - name: PHPStan | |
| run: vendor/bin/phpstan analyse -c phpstan.neon | |
| rector: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.2 | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install the dependencies | |
| uses: ramsey/composer-install@v3 | |
| with: | |
| composer-options: "--no-plugins" | |
| - name: Rector | |
| run: vendor/bin/rector --dry-run --no-progress-bar | |
| ecs: | |
| name: ECS | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.2 | |
| extensions: dom, fileinfo, filter, gd, hash, intl, json, mbstring, mysqli, pcre, pdo_mysql, zlib | |
| coverage: none | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| show-progress: false | |
| - name: Install the dependencies | |
| uses: ramsey/composer-install@v3 | |
| with: | |
| composer-options: "--no-plugins" | |
| - name: Run ECS | |
| run: vendor/bin/ecs check --no-progress-bar |