Merge tag '3.0.6' into develop #27
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: PHP | |
on: | |
push: | |
branches: [ "master", "develop" ] | |
pull_request: | |
branches: [ "master", "develop" ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
- uses: actions/checkout@v4 | |
- name: Cache Composer dependencies | |
uses: actions/cache@v4 | |
with: | |
path: /tmp/composer-cache | |
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }} | |
- uses: php-actions/composer@v6 | |
with: | |
args: --no-scripts | |
php_version: "8.3" | |
php_extensions: dom libxml | |
- name: Run Rector | |
run: ./vendor/bin/rector --dry-run | |
- name: Run ECS | |
run: ./vendor/bin/ecs | |
- name: Run PHPStan | |
run: ./vendor/bin/phpstan | |
- name: Run PHPUnit | |
run: ./vendor/bin/phpunit |