From 7485d80dfa7d2e32ca3a05d918149257a15439e8 Mon Sep 17 00:00:00 2001 From: Shift Date: Sun, 16 Feb 2025 19:55:51 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 12 --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 54df3167e77f..142d0eebdc4a 100644 --- a/composer.json +++ b/composer.json @@ -18,14 +18,14 @@ ], "require": { "php": "^8.2", - "illuminate/support": "^10.0|^11.0", - "opis/closure": "^3.6" + "illuminate/support": "^10.0|^11.0|^12.0", + "opis/closure": "^3.6|^4.3" }, "require-dev": { "brianium/paratest": "^7.0.6", "nunomaduro/collision": "^7.0|^8.0", "nunomaduro/larastan": "^2.0", - "orchestra/testbench": "^8.0|^9.0", + "orchestra/testbench": "^8.0|^9.0|^10.0", "phpstan/extension-installer": "^1.1", "phpunit/phpunit": "^10.0|^11.0", "spatie/laravel-ray": "^1.9", From 75d16460bad2c2bb8958d1187b2e0c99dbdd38aa Mon Sep 17 00:00:00 2001 From: Shift Date: Sun, 16 Feb 2025 19:55:51 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 12 --- .github/workflows/run-tests.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b3ca5a568d86..41bc79a81d4a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,22 +1,27 @@ name: run-tests -on: [push, pull_request] +on: + - push + - pull_request jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] php: [8.3, 8.2] - laravel: [10.*, 11.*] + laravel: ['10.*', '11.*', '12.*'] stability: [prefer-stable] include: - laravel: 10.* testbench: 8.* - laravel: 11.* testbench: 9.* + - laravel: 12.* + testbench: 10.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}