Add checks for Brotli package in Swoole build process #230
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: Static Code Analysis | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - ci | |
| pull_request: | |
| branches: | |
| - master | |
| concurrency: | |
| group: phpstan-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| tests: | |
| name: PHP${{ matrix.php-version }} Static Code Analysis on Linux | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php-version: [ '8.3', '8.4', '8.5' ] | |
| max-parallel: 5 | |
| fail-fast: false | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| extensions: swoole | |
| coverage: none | |
| - name: Setup Dependencies | |
| env: | |
| COMPOSER_ROOT_VERSION: 2.x-dev | |
| run: | |
| composer install -o | |
| - name: Run Analysis | |
| run: | |
| composer analyse |