diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 990ce21..18e6847 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,22 +4,29 @@ on: [push, pull_request] jobs: test: - runs-on: ubuntu-latest strategy: fail-fast: true matrix: - php: [8.0, 8.1, 8.2] - laravel: [9.*, 10.*] + php: [8.0, 8.1, 8.2, 8.3] + laravel: [9.*, 10.*, 11.*] dependency-version: [prefer-stable] include: - laravel: 9.* testbench: 7.* - laravel: 10.* testbench: 8.* + - laravel: 11.* + testbench: 9.* exclude: - - php: '8.0' - laravel: 10.* + - laravel: 9.* + php: 8.3 + - laravel: 10.* + php: 8.0 + - laravel: 11.* + php: 8.0 + - laravel: 11.* + php: 8.1 name: PHP ${{ matrix.php }} - LARAVEL ${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index 8d38d7f..e2c12fd 100644 --- a/composer.json +++ b/composer.json @@ -18,12 +18,12 @@ ], "require": { "php": "^8.0", - "illuminate/database": "^9.0||^10.0", - "illuminate/events": "^9.0||^10.0" + "illuminate/database": "^9.0||^10.0||^11.0", + "illuminate/events": "^9.0||^10.0||^11.0" }, "require-dev": { - "orchestra/testbench": "^7.0||^8.0", - "phpunit/phpunit": "^9.5.10||^10.0", + "orchestra/testbench": "^7.0||^8.0||^9.0", + "phpunit/phpunit": "^9.5.10||^10.5", "tightenco/duster": "^2.7" }, "autoload": { @@ -40,5 +40,7 @@ "scripts": { "lint": "vendor/bin/duster lint", "fix": "vendor/bin/duster fix" - } + }, + "minimum-stability": "dev", + "prefer-stable": true }