diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 505995d..bfc8671 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,19 +2,22 @@ name: run-tests on: push: - branches: [master] + branches: + - master pull_request: - branches: [master] + branches: + - master jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] php: [8.2, 8.1] - laravel: [9.*, 10.*] + laravel: ['9.*', '10.*', '11.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 9.* @@ -23,6 +26,9 @@ jobs: - laravel: 10.* testbench: 8.* carbon: ^2.63 + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index b723f9d..f85770d 100644 --- a/composer.json +++ b/composer.json @@ -19,19 +19,19 @@ "require": { "php": "^8.1", "spatie/laravel-package-tools": "^1.13.0", - "illuminate/auth": "^9.0|^10.0", - "illuminate/events": "^9.0|^10.0", - "illuminate/session": "^9.0|^10.0", - "illuminate/support": "^9.0|^10.0" + "illuminate/auth": "^9.0|^10.0|^11.0", + "illuminate/events": "^9.0|^10.0|^11.0", + "illuminate/session": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0" }, "require-dev": { "laravel/pint": "^1.0", - "nunomaduro/collision": "^6.0|^7.0", + "nunomaduro/collision": "^6.0|^7.0|^8.0", "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^7.0|^8.0", - "pestphp/pest": "^1.21", - "pestphp/pest-plugin-laravel": "^1.1", - "pestphp/pest-plugin-mock": "^1.0", + "orchestra/testbench": "^7.0|^8.0|^9.0", + "pestphp/pest": "^1.21|^2.34", + "pestphp/pest-plugin-laravel": "^1.1|^2.3", + "pestphp/pest-plugin-mock": "^1.0|^2.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0",