diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index fa8c4ad..b336c28 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,19 +2,22 @@ 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.2, 8.3] - laravel: [10.*, 11.*] + laravel: ['10.*', '11.*', '12.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* diff --git a/composer.json b/composer.json index 72b7edf..f154b60 100644 --- a/composer.json +++ b/composer.json @@ -18,19 +18,19 @@ "require": { "php": "^8.1", "spatie/laravel-package-tools": "^1.14.0", - "illuminate/contracts": "^10.0 || ^11.0" + "illuminate/contracts": "^10.0 || ^11.0 || ^12.0" }, "require-dev": { "laravel/pint": "^1.0", "nunomaduro/collision": "^7.8", "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^8.8", - "pestphp/pest": "^2.20", - "pestphp/pest-plugin-arch": "^2.0", - "pestphp/pest-plugin-laravel": "^2.0", + "orchestra/testbench": "^8.8 || ^10.0", + "pestphp/pest": "^2.20 || ^3.7", + "pestphp/pest-plugin-arch": "^2.0 || ^3.0", + "pestphp/pest-plugin-laravel": "^2.0 || ^3.1", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0", + "phpstan/phpstan-deprecation-rules": "^1.0 || ^2.0", + "phpstan/phpstan-phpunit": "^1.0 || ^2.0", "imanghafoori/php-imports-analyzer": "1.0.*", "spatie/laravel-ray": "^1.26" },