From 672329db64a5e11b144d37b9cccece318dd3b700 Mon Sep 17 00:00:00 2001 From: Shift Date: Fri, 1 Mar 2024 18:52:36 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 11 --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index d8a2ad9..95999e0 100644 --- a/composer.json +++ b/composer.json @@ -18,10 +18,10 @@ ], "require": { "php": "^7.4|^8.0", - "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/database": "^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0" + "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/database": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0", From 6439d73a4c93d13092821171d7b54a254e504fef Mon Sep 17 00:00:00 2001 From: Shift Date: Fri, 1 Mar 2024 18:52:36 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 11 --- .github/workflows/tests.yml | 42 +++++++++++++++++++++++++++---------- 1 file changed, 31 insertions(+), 11 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f6c27e3..6adf5d2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,6 +1,8 @@ name: Run tests -on: [ push, pull_request ] +on: + - push + - pull_request jobs: php-tests: @@ -9,22 +11,40 @@ jobs: strategy: fail-fast: false matrix: - php: [ '7.4', '8.0', '8.1' ] - laravel: [ '6.*', '7.*', '8.*', '9.*', '10.*' ] - stability: [ prefer-lowest, prefer-stable ] + php: ['7.4', '8.0', '8.1', '8.2', '8.3'] + laravel: ['6.*', '7.*', '8.*', '9.*', '10.*', '11.*'] + stability: [prefer-lowest, prefer-stable] exclude: - - laravel: '6.*' + - laravel: 6.* php: '8.1' - - laravel: '7.*' + - laravel: 6.* + php: '8.2' + - laravel: 6.* + php: '8.3' + - laravel: 7.* php: '8.1' - - laravel: '8.*' - php: '8.1' - - laravel: '9.*' + - laravel: 7.* + php: '8.2' + - laravel: 7.* + php: '8.3' + - laravel: 8.* + php: '8.2' + - laravel: 8.* + php: '8.3' + - laravel: 9.* + php: '7.4' + - laravel: 9.* + php: '8.3' + - laravel: 10.* php: '7.4' - - laravel: '10.*' + - laravel: 10.* + php: '8.0' + - laravel: 11.* php: '7.4' - - laravel: '10.*' + - laravel: 11.* php: '8.0' + - laravel: 11.* + php: '8.1' name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}