From 1299618d2065ed64002abca603af710eb63eaf52 Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Wed, 1 Feb 2023 03:53:25 -0500 Subject: [PATCH] Laravel 10.x Compatibility (#472) * Bump dependencies for Laravel 10 * Update GitHub Actions for Laravel 10 * Update run-tests.yml --------- Co-authored-by: Freek Van der Herten --- .github/workflows/run-tests.yml | 7 ++++++- composer.json | 8 ++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 974157e..5704f9d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,11 +10,16 @@ jobs: matrix: os: [ubuntu-latest] php: [8.2, 8.1, 8.0] - laravel: [9.*] + laravel: [9.*, 10.*] dependency-version: [prefer-lowest, prefer-stable] include: + - laravel: 10.* + testbench: 8.* - laravel: 9.* testbench: 7.* + 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 31ea956..641ddaf 100644 --- a/composer.json +++ b/composer.json @@ -22,16 +22,16 @@ "require": { "php": "^8.0", "google/apiclient": "^2.12.6", - "laravel/framework": "^9.41", + "laravel/framework": "^9.41|^10.0", "nesbot/carbon": "^2.63", "spatie/laravel-package-tools": "^1.13.7", "symfony/cache": "^6.0" }, "require-dev": { "league/flysystem": "^2.0|^3.0", - "mockery/mockery": "^1.5", - "orchestra/testbench": "^7.0", - "pestphp/pest": "^1.22.2", + "mockery/mockery": "^1.5|^1.4.4", + "orchestra/testbench": "^7.0|^8.0", + "pestphp/pest": "^1.22.2|^1.22", "phpunit/phpunit": "^9.5" }, "autoload": {