chore: update release #7
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: PHP Quality Assurance | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| php-qa: | |
| name: PHP QA | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php: [ '8.2' ] | |
| os: [ 'ubuntu-latest' ] | |
| fail-fast: false | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v3 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| - name: Install Dependencies | |
| uses: ramsey/composer-install@v1 | |
| with: | |
| composer-options: "--prefer-dist" | |
| - name: Run PHPStan | |
| run: ./vendor/bin/phpstan analyse -l 3 src tests --memory-limit=512M | |
| - name: Run PHPUnit | |
| run: ./vendor/bin/phpunit --coverage-text | |
| - name: Run PHP CS Fixer | |
| run: ./vendor/bin/php-cs-fixer fix --dry-run --diff |