From bd10254143394638af9cf849422cff2c7436847f Mon Sep 17 00:00:00 2001 From: Simon Verwaard Date: Mon, 24 Feb 2025 22:09:59 +0100 Subject: [PATCH 1/2] chore: Add support for Laravel 12 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index b960735..db10589 100644 --- a/composer.json +++ b/composer.json @@ -21,8 +21,8 @@ "require": { "php": "^8.0", "guzzlehttp/guzzle": "^7.9", - "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": { "phpunit/phpunit": "^9.6.17 || ^10.5.13", From 4b9f176a8785069eeaaad76199d52aae5178ea0f Mon Sep 17 00:00:00 2001 From: Simon Verwaard Date: Sun, 2 Mar 2025 16:57:31 +0100 Subject: [PATCH 2/2] ci: Add php 8.4 and L12 to test matrix --- .github/workflows/tests.yml | 18 ++++++++++++++++-- composer.json | 2 +- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f7dec5a..2e596e8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,17 +16,23 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: ['8.0', '8.1', '8.2', '8.3'] - laravel: ['9', '10', '11'] + php: ['8.0', '8.1', '8.2', '8.3', '8.4'] + laravel: ['9', '10', '11', '12'] exclude: - php: '8.0' laravel: '10' - php: '8.0' laravel: '11' + - php: '8.0' + laravel: '12' - php: '8.1' laravel: '11' + - php: '8.1' + laravel: '12' - php: '8.3' laravel: '9' + - php: '8.4' + laravel: '9' steps: - name: Checkout Code uses: actions/checkout@v4 @@ -67,6 +73,14 @@ jobs: command: composer require "laravel/framework:11.*" "phpunit/phpunit:^10.5" --no-update --no-interaction if: "matrix.laravel == '11'" + - name: Select Laravel 12 + uses: nick-invision/retry@v3 + with: + timeout_minutes: 5 + max_attempts: 5 + command: composer require "laravel/framework:12.*" "phpunit/phpunit:^11.5" --no-update --no-interaction + if: "matrix.laravel == '12'" + - name: Install PHP Dependencies uses: nick-invision/retry@v3 with: diff --git a/composer.json b/composer.json index db10589..5ec1625 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "illuminate/support": "^9.0 || ^10.0 || ^11.0 || ^12.0" }, "require-dev": { - "phpunit/phpunit": "^9.6.17 || ^10.5.13", + "phpunit/phpunit": "^9.6.17 || ^10.5.13 || ^11.5.10", "friendsofphp/php-cs-fixer": "^3.62", "graham-campbell/testbench": "^6.1" },