From bfda6f030c265de9c101f11531a3acc9ece307d4 Mon Sep 17 00:00:00 2001 From: Shift Date: Wed, 19 Feb 2025 13:31:24 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 12 --- composer.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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" }, From 99dc23ee60ccb26677f6908f9359cb147d2693eb Mon Sep 17 00:00:00 2001 From: Shift Date: Wed, 19 Feb 2025 13:31:24 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 12 --- .github/workflows/run-tests.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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.*