[Build] support NG fork #29
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: PHPStan CI | |
on: push | |
jobs: | |
phpstan: | |
name: PHPStan Analysis | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
steps: | |
- name: Startup | |
uses: actions/checkout@v3 | |
- name: Setup PHP and tools | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.4 | |
- name: Install Composer dependencies | |
run: composer install --prefer-dist --no-interaction --ignore-platform-reqs | |
- name: Run PHPStan | |
run: ./vendor/bin/phpstan analyze --no-progress |