From 5a5b2f0a03cc66d8ffede42037a7f3e00f95aaa9 Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Wed, 25 Jan 2023 04:18:22 -0500 Subject: [PATCH] Laravel 10.x Compatibility (#187) * Bump dependencies for Laravel 10 * Update GitHub Actions for Laravel 10 * wip * Update run-tests.yml Co-authored-by: Freek Van der Herten --- .github/workflows/run-tests.yml | 8 +++++++- composer.json | 10 +++++----- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b48c5dc..735a379 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,15 +8,21 @@ jobs: strategy: matrix: php: [8.2, 8.1, 8.0] - laravel: [9.*, 8.*] + laravel: [9.*, 8.*, 10.*] dependency-version: [prefer-lowest, prefer-stable] include: + - laravel: 10.* + testbench: 8.* + carbon: ^2.63 - laravel: 9.* testbench: 7.* carbon: ^2.63 - laravel: 8.* testbench: ^6.23 carbon: ^2.63 + exclude: + - laravel: 10.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 192f1a1..eac2322 100644 --- a/composer.json +++ b/composer.json @@ -27,14 +27,14 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", - "illuminate/view": "^8.0|^9.0", - "illuminate/cookie": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", + "illuminate/view": "^8.0|^9.0|^10.0", + "illuminate/cookie": "^8.0|^9.0|^10.0", "spatie/laravel-package-tools": "^1.9" }, "require-dev": { "fakerphp/faker": "^1.9", - "orchestra/testbench": "^6.0|^7.0", + "orchestra/testbench": "^6.0|^7.0|^8.0", "pestphp/pest": "^1.22" }, "autoload": { @@ -64,4 +64,4 @@ "pestphp/pest-plugin": true } } -} \ No newline at end of file +}