From be6b5cf51cf5ca27baae75bb7b9642e2e0e6de0e Mon Sep 17 00:00:00 2001 From: Shift Date: Sat, 2 Mar 2024 07:12:25 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 11 --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 3cc022b..9ebede6 100644 --- a/composer.json +++ b/composer.json @@ -17,15 +17,15 @@ ], "require": { "php": "^8.0", - "illuminate/contracts": "^8.67|^9.0|^10.0", - "illuminate/support": "^8.77|^9.0|^10.0", + "illuminate/contracts": "^8.67|^9.0|^10.0|^11.0", + "illuminate/support": "^8.77|^9.0|^10.0|^11.0", "spatie/laravel-package-tools": "^1.10", - "symfony/finder": "^5.4.2|^6.0" + "symfony/finder": "^5.4.2|^6.0|^7.0" }, "require-dev": { "nunomaduro/larastan": "^1.0.2|^2.0", - "orchestra/testbench": "^6.23.2|^7.0|^8.0", - "pestphp/pest": "^1.21", + "orchestra/testbench": "^6.23.2|^7.0|^8.0|^9.0", + "pestphp/pest": "^1.21|^2.34", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", From 286fc91b509cbccd659bb1882657df4ec982b44d Mon Sep 17 00:00:00 2001 From: Shift Date: Sat, 2 Mar 2024 07:12:25 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 11 --- .github/workflows/run-tests.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 7b0c1a5..7b4ad14 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,16 +1,19 @@ name: 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.0, 8.1, 8.2] - laravel: [10.*, 9.*, 8.*] + laravel: ['8.*', '9.*', '10.*', '11.*'] dependency-version: [prefer-stable] include: - laravel: 10.* @@ -19,9 +22,15 @@ jobs: testbench: 7.* - laravel: 8.* testbench: 6.* + - laravel: 11.* + testbench: 9.* exclude: - laravel: 10.* php: 8.0 + - laravel: 11.* + php: 8.0 + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}