diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 39ff7ee..4efbff4 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,23 +2,31 @@ 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.1] - laravel: [9.*] + php: [8.1, '8.2', '8.3', '8.4'] + laravel: ['9.*', '12.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 9.* testbench: 7.* + - laravel: 12.* + testbench: 10.* + exclude: + - 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 286b4c7..d28f581 100644 --- a/composer.json +++ b/composer.json @@ -20,22 +20,22 @@ ], "require": { "php": "^8.1", - "illuminate/contracts": "^9.0|^10.0|^11.0", - "illuminate/support": "^9.0|^10.0|^11.0" + "illuminate/contracts": "^9.0|^10.0|^11.0|^12.0", + "illuminate/support": "^9.0|^10.0|^11.0|^12.0" }, "require-dev": { - "driftingly/rector-laravel": "^1.2", + "driftingly/rector-laravel": "^1.2|^2.0", "larastan/larastan": "^2.9.0", "laravel/pint": "^1.15", "nunomaduro/collision": "^6.0|^8.0", - "orchestra/testbench": "^7.0|^9.0", - "pestphp/pest": "^1.21|^2.34", - "pestphp/pest-plugin-laravel": "^1.1|^2.3", + "orchestra/testbench": "^7.0|^9.0|^10.0", + "pestphp/pest": "^1.21|^2.34|^3.7", + "pestphp/pest-plugin-laravel": "^1.1|^2.3|^3.1", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^9.5|^10.5", - "rector/rector": "^1.0", + "phpstan/phpstan-deprecation-rules": "^1.0|^2.0", + "phpstan/phpstan-phpunit": "^1.0|^2.0", + "phpunit/phpunit": "^9.5|^10.5|^11.5.3", + "rector/rector": "^1.0|^2.0", "roave/security-advisories": "dev-latest", "spatie/laravel-ray": "^1.26" },