diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 686ce5e..87f332a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,22 +2,30 @@ name: run-tests on: push: - branches: [main] + branches: + - main pull_request: - branches: [main] + branches: + - main jobs: test: runs-on: ubuntu-latest + strategy: fail-fast: false matrix: php: [8.1, 8.2] - laravel: ["^10.0"] + laravel: ['11.0', ^10.0] stability: [prefer-lowest, prefer-stable] include: - - laravel: "^10.0" + - laravel: ^10.0 testbench: 8.* + - laravel: '11.0' + testbench: 9.* + exclude: + - laravel: '11.0' + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} diff --git a/composer.json b/composer.json index 566bdaa..592f419 100644 --- a/composer.json +++ b/composer.json @@ -22,14 +22,14 @@ "filament/filament": "^3.0.49", "filament/forms": "^3.0.49", "filament/tables": "^3.0.49", - "illuminate/contracts": "^10.0", + "illuminate/contracts": "^10.0|^11.0", "filament/spatie-laravel-tags-plugin": "^v3.0" }, "require-dev": { "laravel/pint": "^1.13.1", - "nunomaduro/collision": "^7.8.1", + "nunomaduro/collision": "^7.8.1|^8.0", "nunomaduro/larastan": "^2.6.4", - "orchestra/testbench": "^8.10.2", + "orchestra/testbench": "^8.10.2|^9.0", "pestphp/pest": "^2.18.2", "pestphp/pest-plugin-arch": "^2.3.3", "pestphp/pest-plugin-laravel": "^2.2",