diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index fc9561a..de7c25b 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,23 +2,28 @@ name: run-tests on: push: - branches: [main] + branches: + - main pull_request: - branches: [main] + branches: + - main jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] php: [8.2] - laravel: [10.*] + laravel: ['10.*', '11.*'] stability: [prefer-stable] include: - laravel: 10.* testbench: 8.* + - laravel: 11.* + testbench: 9.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 40532f6..379e3d4 100644 --- a/composer.json +++ b/composer.json @@ -22,16 +22,16 @@ ], "require": { "php": "^8.2", - "illuminate/contracts": "^10.0", - "illuminate/support": "^10.0", + "illuminate/contracts": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0", "livewire/livewire": "^3.0", "spatie/laravel-collection-macros": "^7.13", "spatie/laravel-package-tools": "^1.16.1" }, "require-dev": { "ext-dom": "*", - "nunomaduro/collision": "^7.8.1", - "orchestra/testbench": "^8.9.1", + "nunomaduro/collision": "^7.8.1|^8.0", + "orchestra/testbench": "^8.9.1|^9.0", "pestphp/pest": "^2.16", "pestphp/pest-plugin-laravel": "^2.2", "spatie/laravel-ray": "^1.32.6",