Implement RakNet protocol version handling #541
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
| strategy: | |
| matrix: | |
| php: ["8.1", "8.2", "8.3", "8.4"] | |
| name: PHP ${{ matrix.php }} | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/[email protected] | |
| with: | |
| php-version: ${{ matrix.php }} | |
| - name: Cache Composer packages | |
| id: composer-cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: "~/.cache/composer" | |
| key: "php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}" | |
| restore-keys: "php-${{ matrix.php }}-composer-" | |
| - name: Install dependencies | |
| run: composer install --prefer-dist --no-interaction | |
| - name: Run PHPStan | |
| run: ./vendor/bin/phpstan analyze --no-progress |