From c279a83001e9da016825f3efe31437472fb013cc Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 16:24:05 +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 8d38d7f..bdc1059 100644 --- a/composer.json +++ b/composer.json @@ -18,11 +18,11 @@ ], "require": { "php": "^8.0", - "illuminate/database": "^9.0||^10.0", - "illuminate/events": "^9.0||^10.0" + "illuminate/database": "^9.0||^10.0||^11.0", + "illuminate/events": "^9.0||^10.0||^11.0" }, "require-dev": { - "orchestra/testbench": "^7.0||^8.0", + "orchestra/testbench": "^7.0||^8.0||^9.0", "phpunit/phpunit": "^9.5.10||^10.0", "tightenco/duster": "^2.7" }, From 40a464e509e064215efe4e64e2d0221745a8efff Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 16:24:05 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 11 --- .github/workflows/tests.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 990ce21..fda9f60 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,30 +1,37 @@ name: Tests -on: [push, pull_request] +on: + - push + - pull_request jobs: test: - runs-on: ubuntu-latest + strategy: fail-fast: true matrix: php: [8.0, 8.1, 8.2] - laravel: [9.*, 10.*] + laravel: ['9.*', '10.*', '11.*'] dependency-version: [prefer-stable] include: - laravel: 9.* testbench: 7.* - laravel: 10.* testbench: 8.* + - laravel: 11.* + testbench: 9.* exclude: - php: '8.0' laravel: 10.* + - laravel: 11.* + php: 8.0 + - laravel: 11.* + php: 8.1 name: PHP ${{ matrix.php }} - LARAVEL ${{ matrix.laravel }} - ${{ matrix.dependency-version }} steps: - - name: Checkout Code uses: actions/checkout@v2 @@ -46,5 +53,6 @@ jobs: composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "symfony/console:>=4.3.4" --no-interaction --no-update composer remove "tightenco/duster" --dev --no-interaction --no-update composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction + - name: Execute Tests run: ./vendor/bin/phpunit --testdox