From d95c793b74103fac1d94d4625a17272d1a3f5c87 Mon Sep 17 00:00:00 2001 From: Shift Date: Wed, 19 Feb 2025 06:59:48 +0000 Subject: [PATCH 1/3] Bump dependencies for Laravel 12 --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index a066f6e..4b1ce76 100644 --- a/composer.json +++ b/composer.json @@ -18,16 +18,16 @@ "require": { "php": "^8.0|^8.1|^8.2|^8.3", "guzzlehttp/guzzle": "^7.9.1", - "illuminate/contracts": "^11|^10|^9.0", + "illuminate/contracts": "^11|^10|^9.0|^12.0", "phpseclib/phpseclib": "^3.0.39", "phpseclib/phpseclib2_compat": "^1.0.6", "spatie/laravel-package-tools": "^1.12.1" }, "require-dev": { "nunomaduro/collision": "^8.0|^7.0", - "orchestra/testbench": "^9|^8", - "pestphp/pest": "^2.0", - "pestphp/pest-plugin-laravel": "^2.0", + "orchestra/testbench": "^9|^8|^10.0", + "pestphp/pest": "^2.0|^3.7", + "pestphp/pest-plugin-laravel": "^2.0|^3.1", "spatie/laravel-ray": "^1.37.1" }, "autoload": { From b75e9746c3ed1156cc7ca3413795b1b60cd93a34 Mon Sep 17 00:00:00 2001 From: Shift Date: Wed, 19 Feb 2025 06:59:49 +0000 Subject: [PATCH 2/3] Update GitHub Actions for Laravel 12 --- .github/workflows/run-tests.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 6624876..b7f7d83 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,25 +2,28 @@ name: run-tests on: push: - branches: [main] + branches: + - main pull_request: - branches: ["*"] + branches: + - * jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - # run on php 8.2 php: [8.2] - # run on laravel 10 - laravel: [10.*] + laravel: ['10.*', '12.*'] stability: [prefer-stable] include: - laravel: 10.* testbench: 8.* + - laravel: 12.* + testbench: 10.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} From be9052b6fdb681988c59a9f1c75120c17c0004c4 Mon Sep 17 00:00:00 2001 From: Ahmed Nagi Date: Wed, 12 Mar 2025 12:01:56 +0200 Subject: [PATCH 3/3] Add Laravel 11 to test matrix --- .github/workflows/run-tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b7f7d83..e7abc2b 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -17,11 +17,13 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] php: [8.2] - laravel: ['10.*', '12.*'] + laravel: ['10.*', '12.*', '11.*'] stability: [prefer-stable] include: - laravel: 10.* testbench: 8.* + - laravel: 11.* + testbench: 9.* - laravel: 12.* testbench: 10.*