From ba549f2d5e4499416849f1b6c9e439f99ea08193 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 16:12:56 +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 b732cef..1edc5d3 100644 --- a/composer.json +++ b/composer.json @@ -18,12 +18,12 @@ "require": { "php": "^8.1", "spatie/url-signer": "^2.0", - "illuminate/support": "^9.0|^10.0", + "illuminate/support": "^9.0|^10.0|^11.0", "spatie/laravel-package-tools": "^1.13.6" }, "require-dev": { - "orchestra/testbench": "^7.12.1|^8.0", - "pestphp/pest": "^1.22.2|^1.22" + "orchestra/testbench": "^7.12.1|^8.0|^9.0", + "pestphp/pest": "^1.22.2|^1.22|^2.34" }, "autoload": { "psr-4": { From 8bb4a33859a9cc1ad6bd53470bd9dc4efa75c8d2 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 16:12:56 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 11 --- .github/workflows/run-tests.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b4ba01c..161b1e0 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,22 +1,30 @@ name: run-tests -on: [push, pull_request] +on: + - push + - pull_request jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] php: [8.2, 8.1] - laravel: [9.*, 10.*] + laravel: ['9.*', '10.*', '11.*'] stability: [prefer-stable] include: - - laravel: 10.* - testbench: 8.* - - laravel: 9.* - testbench: 7.* + - 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.stability }} - ${{ matrix.os }} @@ -43,4 +51,3 @@ jobs: - name: Execute tests run: vendor/bin/pest -