From dcda3854d31a63758d6480a48525318d087622b1 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 15:49:32 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 11 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 7a3399a..77844b0 100644 --- a/composer.json +++ b/composer.json @@ -17,10 +17,10 @@ ], "require": { "php": "^7.4|^8.0|^8.1", - "illuminate/support": "^6|^7|^8|^9|^10.0" + "illuminate/support": "^6|^7|^8|^9|^10.0|^11.0" }, "require-dev": { - "orchestra/testbench": "^6.15|^8.0" + "orchestra/testbench": "^6.15|^8.0|^9.0" }, "autoload": { "psr-4": { From 01c910355f1f37ca34bbac0bedba3f675ad9d8db Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 15:49:32 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 11 --- .github/workflows/run-tests.yml | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index fe242d6..34d78c1 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,20 +2,23 @@ name: run-tests on: push: - branches: [ main ] + branches: + - main pull_request: - branches: [ main ] + branches: + - main jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: - os: [ ubuntu-latest, windows-latest ] - php: [ 8.1,8.0, 7.4 ] - laravel: [ 9.*,8.*,7.*,6.* , 10.*] - stability: [ prefer-lowest, prefer-stable ] + os: [ubuntu-latest, windows-latest] + php: [7.4, 8.0, 8.1, '8.2'] + laravel: ['6.*', '7.*', '8.*', '9.*', '10.*', '11.*'] + stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* @@ -27,6 +30,8 @@ jobs: testbench: ^5.0 - laravel: 6.* testbench: ^4.0 + - laravel: 11.* + testbench: 9.* exclude: - laravel: 10.* php: 8.0 @@ -40,6 +45,12 @@ jobs: php: 8.1 - laravel: 6.* php: 8.1 + - laravel: 11.* + php: 7.4 + - laravel: 11.* + php: 8.0 + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}