Fix: Store broadcast channels on BroadcastManager to ensure coroutine-safe authorization #948
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 analysis | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| linux_tests: | |
| runs-on: ubuntu-latest | |
| if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')" | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| include: | |
| - php: "8.2" | |
| swoole: "5.1.6" | |
| - php: "8.3" | |
| swoole: "5.1.6" | |
| - php: "8.4" | |
| swoole: "6.0.2" | |
| name: PHP ${{ matrix.php }} (swoole-${{ matrix.swoole }}) | |
| container: | |
| image: phpswoole/swoole:${{ matrix.swoole }}-php${{ matrix.php }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| COMPOSER_MEMORY_LIMIT=-1 composer install --prefer-dist -n -o | |
| - name: Execute static analysis | |
| run: vendor/bin/phpstan --configuration="phpstan.neon.dist" --memory-limit=-1 |