From 408aa793f152b16bab926a7e7c017d42342351d7 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 21:04:37 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 11 --- composer.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index abfd087..c906bb1 100644 --- a/composer.json +++ b/composer.json @@ -17,18 +17,18 @@ ], "require": { "php": "^7.4 || ^8.0", - "brick/varexporter": "^0.3.8", + "brick/varexporter": "^0.3.8 || ^0.4", "doctrine/dbal": "^3.6 || ^4.0", - "illuminate/contracts": "^8.0 || ^9.0 || ^10.0", - "illuminate/database": "^8.0 || ^9.0 || ^10.0", - "illuminate/support": "^8.0 || ^9.0 || ^10.0", - "illuminate/testing": "^8.0 || ^9.0 || ^10.0", + "illuminate/contracts": "^8.0 || ^9.0 || ^10.0 || ^11.0", + "illuminate/database": "^8.0 || ^9.0 || ^10.0 || ^11.0", + "illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0", + "illuminate/testing": "^8.0 || ^9.0 || ^10.0 || ^11.0", "spatie/laravel-package-tools": "^1.12 || ^1.14" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.13", "nunomaduro/larastan": "^1.0 || ^2.5", - "orchestra/testbench": "^6.27 || ^7.0 || ^8.0 ", + "orchestra/testbench": "^6.27 || ^7.0 || ^8.0 || ^9.0", "pestphp/pest": "^1.22 || ^2.0", "pestphp/pest-plugin-laravel": "^1.22 || ^2.0", "spatie/laravel-ray": "^1.32" From bcf863aac509b237a1c33974964df2ef59552059 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 21:04:37 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 11 --- .github/workflows/run-tests.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b90f204..41e1c79 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,19 +2,22 @@ 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] php: [8.3, 8.2, 8.1, 8.0, 7.4] - laravel: [10.*, 9.*, 8.*] + laravel: ['8.*', '9.*', '10.*', '11.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* @@ -33,6 +36,12 @@ jobs: php: 7.4 - laravel: 9.* php: 7.4 + - laravel: 11.* + php: 8.1 + - laravel: 11.* + php: 8.0 + - laravel: 11.* + php: 7.4 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}