From 5e0cd900045d48ca8c0a361d318633498e5c9ea6 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 18:48:42 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 11 --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 5c1e50f..1d057f3 100644 --- a/composer.json +++ b/composer.json @@ -19,12 +19,12 @@ }, "require": { "php": "^8.1", - "illuminate/support": "^9.0 || ^10.0" + "illuminate/support": "^9.0 || ^10.0 || ^11.0" }, "require-dev": { "ergebnis/composer-normalize": "^2.39", - "orchestra/testbench": "^7.35.0 || ^8.0", - "phpunit/phpunit": "^9.6.0" + "orchestra/testbench": "^7.35.0 || ^8.0 || ^9.0", + "phpunit/phpunit": "^9.6.0 || ^10.5" }, "minimum-stability": "dev", "prefer-stable": true, From 4a69a352e647a3ba7600982063a1160a584c0b45 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 18:48:43 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 11 --- .github/workflows/tests.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 29a93af..0c51e2a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,20 +1,30 @@ name: Tests -on: [push] + +on: + - push + jobs: run: runs-on: ubuntu-latest + strategy: matrix: php: ['8.1', '8.2'] - laravel: [9.*, 10.*] + laravel: ['9.*', '10.*', '11.*'] dependency-version: [prefer-stable] include: - laravel: 10.* testbench: 8.* - laravel: 9.* testbench: 7.* + - laravel: 11.* + testbench: 9.* + exclude: + - laravel: 11.* + php: '8.1' name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} + steps: - name: Checkout code uses: actions/checkout@v4