From 71f0623ce281e311927160a9ad1fe2060b9c21dc Mon Sep 17 00:00:00 2001 From: Jasper Zonneveld Date: Mon, 24 Feb 2025 11:28:11 +0100 Subject: [PATCH 1/2] build: bump dependencies for Laravel 12 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index dc5ed15..8041773 100644 --- a/composer.json +++ b/composer.json @@ -25,14 +25,14 @@ "require": { "php": "^8.1", "guzzlehttp/guzzle": "^7.4", - "illuminate/contracts": "^10.0|^11.0", + "illuminate/contracts": "^10.0|^11.0|^12.0", "psr/http-client": "^1.0" }, "require-dev": { "laravel/pint": "^1.0", "nunomaduro/collision": "^7.8|^8.1", "larastan/larastan": "^2.9|^3.1", - "orchestra/testbench": "^8.8|^9.0", + "orchestra/testbench": "^8.8|^9.0|^10.0", "pestphp/pest": "^2.36|^3.7", "pestphp/pest-plugin-arch": "^2.7|^3.0", "pestphp/pest-plugin-laravel": "^2.4|^3.1", From c7f4c3f935ce063f10b60579964918db10747b99 Mon Sep 17 00:00:00 2001 From: Jasper Zonneveld Date: Mon, 24 Feb 2025 11:28:17 +0100 Subject: [PATCH 2/2] ci: update workflows for Laravel 12 --- .github/workflows/run-tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 8906784..ed3a987 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -18,16 +18,20 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] php: [8.3, 8.2, 8.1] - laravel: [11.*, 10.*] + laravel: [12.*, 11.*, 10.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* - laravel: 11.* testbench: 9.* + - laravel: 12.* + testbench: 10.* exclude: - laravel: 11.* php: 8.1 + - laravel: 12.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}