chore: update changelog for version 2.1.0 release #8
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: static analysis | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: static-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| phpstan: | |
| name: PHPStan (level 9) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| # One interpreter is enough: phpstan.neon pins the analysis to the | |
| # 8.2-8.4 range, so errors reported here are valid for every | |
| # supported version regardless of which one this job runs on. | |
| php-version: '8.4' | |
| extensions: openssl, sodium, mbstring, ctype | |
| coverage: none | |
| # PHPStan's parallel workers exhaust a stock 128M limit and die inside | |
| # their own phar, reporting a confusing "severe error" that looks like | |
| # a finding in this codebase. Verified in a container: 128M fails, | |
| # 256M is enough. setup-php usually defaults CLI memory to -1, but | |
| # relying on that leaves the job one action-default away from flaking. | |
| ini-values: memory_limit=-1 | |
| - uses: ramsey/composer-install@v4 | |
| - name: Analyse | |
| run: vendor/bin/phpstan analyse --error-format=github --no-progress | |
| pint: | |
| name: Laravel Pint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.4' | |
| coverage: none | |
| - uses: ramsey/composer-install@v4 | |
| # --test only. CI reports style drift; it never rewrites and pushes. | |
| - name: Check code style | |
| run: vendor/bin/pint --test |