diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9286d42..2531692 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,36 +7,40 @@ on: jobs: PHPUnit: name: PHPUnit (PHP ${{ matrix.php }}) - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 strategy: matrix: php: + - 8.6 + - 8.5 - 8.4 - 8.3 - 8.2 - 8.1 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - coverage: ${{ matrix.php < 8.0 && 'xdebug' || 'pcov' }} + coverage: pcov ini-file: development - run: composer install - run: vendor/bin/phpunit --coverage-text PHPStan: name: PHPStan (PHP ${{ matrix.php }}) - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 strategy: matrix: php: + - 8.6 + - 8.5 - 8.4 - 8.3 - 8.2 - 8.1 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} diff --git a/composer.json b/composer.json index e2d045a..63e0352 100644 --- a/composer.json +++ b/composer.json @@ -27,8 +27,8 @@ ], "require": { "php": ">=8.1", - "react/event-loop": "^1.2", - "react/promise": "^3.2 || ^2.8 || ^1.2.1" + "react/event-loop": "^1.6", + "react/promise": "^3.3 || ^2.8 || ^1.2.1" }, "require-dev": { "phpstan/phpstan": "1.12.19",