diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b3ca5a568d86..41bc79a81d4a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,22 +1,27 @@ name: run-tests -on: [push, pull_request] +on: + - push + - pull_request jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] php: [8.3, 8.2] - laravel: [10.*, 11.*] + laravel: ['10.*', '11.*', '12.*'] stability: [prefer-stable] include: - laravel: 10.* testbench: 8.* - laravel: 11.* testbench: 9.* + - laravel: 12.* + testbench: 10.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 54df3167e77f..142d0eebdc4a 100644 --- a/composer.json +++ b/composer.json @@ -18,14 +18,14 @@ ], "require": { "php": "^8.2", - "illuminate/support": "^10.0|^11.0", - "opis/closure": "^3.6" + "illuminate/support": "^10.0|^11.0|^12.0", + "opis/closure": "^3.6|^4.3" }, "require-dev": { "brianium/paratest": "^7.0.6", "nunomaduro/collision": "^7.0|^8.0", "nunomaduro/larastan": "^2.0", - "orchestra/testbench": "^8.0|^9.0", + "orchestra/testbench": "^8.0|^9.0|^10.0", "phpstan/extension-installer": "^1.1", "phpunit/phpunit": "^10.0|^11.0", "spatie/laravel-ray": "^1.9",