π fix(webserver): prevent stream_select crash on closed client sockets #156
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: CI | |
| on: | |
| workflow_dispatch: | |
| push: | |
| jobs: | |
| housekeeping: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: "actions/checkout@v4" | |
| - uses: "shivammathur/setup-php@v2" | |
| with: | |
| php-version: "8.4" | |
| - uses: "ramsey/composer-install@v3" | |
| - name: "Sync embedded code blocks" | |
| run: "composer embed-files" | |
| - name: "Run PHPCBF" | |
| run: "./vendor/bin/phpcbf > /dev/null || true" | |
| - uses: "stefanzweifel/git-auto-commit-action@v5" | |
| test: | |
| needs: housekeeping | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php: | |
| - "8.4" | |
| dependencies: | |
| - "lowest" | |
| - "highest" | |
| include: | |
| - composer-options: "--ignore-platform-reqs" | |
| steps: | |
| - name: "Extract branch name" | |
| run: 'echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT' | |
| id: "extract_branch" | |
| - uses: "actions/checkout@v4" | |
| with: | |
| ref: "${{ steps.extract_branch.outputs.branch }}" | |
| - uses: "shivammathur/setup-php@v2" | |
| with: | |
| php-version: "${{ matrix.php }}" | |
| - uses: "ramsey/composer-install@v3" | |
| with: | |
| dependency-versions: "${{ matrix.dependencies }}" | |
| composer-options: "${{ matrix.composer-options }}" | |
| - name: "Run PHP Code Sniffer" | |
| run: "./vendor/bin/phpcs" | |
| # - name: Run Psalm | |
| # run: ./vendor/bin/psalm | |
| - name: "Run PHPUnit" | |
| run: "./vendor/bin/phpunit" | |