diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3c6d15f42..bd1860a56 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,18 +9,20 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.2] - laravel: [11.*] + php: [8.2, 8.3, 8.4] + laravel: [11.*, 12.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 11.* testbench: 9.* + - laravel: 12.* + testbench: 10.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/composer.json b/composer.json index 1a076b7ea..413b454a2 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ ], "require": { "php": "^8.2", - "illuminate/contracts": "^11.0", + "illuminate/contracts": "^11.0|^12.0", "laravel/pint": "^1.0", "spatie/laravel-data": "^4.4", "spatie/laravel-package-tools": "^1.12", @@ -29,12 +29,12 @@ "brianium/paratest": "^7.0.6", "doctrine/dbal": "^3.0|^4.0", "nunomaduro/collision": "^8.1", - "openai-php/laravel": "^0.8.1", - "orchestra/testbench": "^9.0", + "openai-php/laravel": "^0.8.1|^0.11", + "orchestra/testbench": "^9.0|^10.0", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^10.0|^11.0", + "phpstan/phpstan-deprecation-rules": "^1.0|^2.0", + "phpstan/phpstan-phpunit": "^1.0|^2.0", + "phpunit/phpunit": "^10.0|^11.0|^12.0", "spatie/laravel-ray": "^1.9", "vimeo/psalm": "^6.0@dev" },