analysis.yaml (522B)
1 name: Static Analysis 2 3 on: [push, pull_request] 4 5 jobs: 6 phpstan: 7 name: phpstan 8 runs-on: ubuntu-latest 9 steps: 10 - uses: actions/checkout@v3 11 12 - name: Setup PHP 13 uses: shivammathur/setup-php@v2 14 with: 15 php-version: '8.2' 16 coverage: none 17 18 - name: Install dependencies 19 run: | 20 composer install -n --prefer-dist 21 npm install && npm run build 22 23 - name: Run Static Analysis 24 run: ./vendor/bin/phpstan --error-format=github analyse