Update analyse-php.yml #3
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 Static Analysis | |
on: | |
push: | |
branches: | |
- master | |
- dist | |
workflow_dispatch: | |
jobs: | |
phpstan: | |
name: PHP Static Analysis | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
extensions: mysql, mbstring, xml, imap, zip, gd, curl, intl, json | |
- name: Install composer dependencies | |
run: composer install --ignore-platform-reqs --no-interaction | |
- name: PHPStan Static Analysis | |
uses: php-actions/phpstan@v3 | |
with: | |
memory_limit: 2G |