From 30cc378b1f51058e9c65165dce362b92ee44d494 Mon Sep 17 00:00:00 2001 From: Shift Date: Wed, 19 Feb 2025 06:00:36 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 12 --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 0764a0c4..09cf8d17 100644 --- a/composer.json +++ b/composer.json @@ -20,17 +20,17 @@ ], "require": { "php": "^8.0", - "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0", - "opcodesio/mail-parser": "^0.1.6" + "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0|^12.0", + "opcodesio/mail-parser": "^0.1.6|^0.2" }, "require-dev": { "guzzlehttp/guzzle": "^7.2", "itsgoingd/clockwork": "^5.1", "laravel/pint": "^1.0", "nunomaduro/collision": "^7.0|^8.0", - "orchestra/testbench": "^7.6|^8.0|^9.0", - "pestphp/pest": "^2.0", - "pestphp/pest-plugin-laravel": "^2.0", + "orchestra/testbench": "^7.6|^8.0|^9.0|^10.0", + "pestphp/pest": "^2.0|^3.7", + "pestphp/pest-plugin-laravel": "^2.0|^3.1", "spatie/test-time": "^1.3" }, "suggest": { From 6138c313d965102391e82aab01330962331536cf Mon Sep 17 00:00:00 2001 From: Shift Date: Wed, 19 Feb 2025 06:00:37 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 12 --- .github/workflows/run-tests.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index bea62b49..b10ce02a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,19 +2,26 @@ name: run-tests on: push: - branches: [main, 1.x, 2.x] + branches: + - main + - 1.x + - 2.x pull_request: - branches: [main, 1.x, 2.x] + branches: + - main + - 1.x + - 2.x jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] php: [8.2, 8.1, 8.0] - laravel: [9.*, 10.*, 11.*] + laravel: ['9.*', '10.*', '11.*', '12.*'] stability: [prefer-lowest, prefer-stable] exclude: - php: 8.0 @@ -25,6 +32,10 @@ jobs: laravel: 11.* - php: 8.2 laravel: 9.* + - laravel: 12.* + php: 8.1 + - laravel: 12.* + php: 8.0 include: - laravel: 9.* testbench: 7.*