diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index e1ca946..a2e0c61 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,7 +2,13 @@ name: run-tests on: push: - branches: [main] + branches: [main, l12] + paths: + - '**.php' + - '.github/workflows/run-tests.yml' + - 'phpunit.xml.dist' + - 'composer.json' + - 'composer.lock' pull_request: branches: [main] @@ -13,17 +19,22 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.3, 8.2, 8.1] - laravel: [11.*, 10.*] + php: [8.4, 8.3, 8.2, 8.1] + laravel: [12.*, 11.*, 10.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* - laravel: 11.* testbench: 9.* + - laravel: 12.* + testbench: 10.* exclude: - laravel: 11.* php: 8.1 + - laravel: 12.* + php: 8.1 + name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index dc67e2c..0e2ba71 100644 --- a/composer.json +++ b/composer.json @@ -20,25 +20,25 @@ ], "require": { "php": "^8.1", - "illuminate/contracts": "^10.10.1|^11.0", - "illuminate/database": "^10.10.1|^11.0", - "illuminate/http": "^10.10.1|^11.0", - "illuminate/routing": "^10.10.1|^11.0", - "illuminate/support": "^10.10.1|^11.0", + "illuminate/contracts": "^10.10.1|^11.0|^12.0", + "illuminate/database": "^10.10.1|^11.0|^12.0", + "illuminate/http": "^10.10.1|^11.0|^12.0", + "illuminate/routing": "^10.10.1|^11.0|^12.0", + "illuminate/support": "^10.10.1|^11.0|^12.0", "spatie/laravel-package-tools": "^1.14.1" }, "require-dev": { "laravel/pint": "^1.0", "nunomaduro/collision": "^7.8|^8.1", - "larastan/larastan": "^2.0.1", - "orchestra/testbench": "^8.0|^9.0", - "pestphp/pest": "^2.34", - "pestphp/pest-plugin-arch": "^2.7", - "pestphp/pest-plugin-laravel": "^2.3", - "phpstan/extension-installer": "^1.3", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.3", - "spatie/pest-plugin-test-time": "^2.1" + "larastan/larastan": "^2.0.1|^3.0", + "orchestra/testbench": "^8.0|^9.0|^10.0", + "pestphp/pest": "^2.34|^3.0", + "pestphp/pest-plugin-arch": "^2.7|^3.0", + "pestphp/pest-plugin-laravel": "^2.3|^3.0", + "phpstan/extension-installer": "^1.3|^2.0", + "phpstan/phpstan-deprecation-rules": "^1.0|^2.0", + "phpstan/phpstan-phpunit": "^1.3|^2.0", + "spatie/pest-plugin-test-time": "^2.1|^3.0" }, "autoload": { "psr-4": {