From b45980636d3d60a3426ac44f5a51517bca8cb63a Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Tue, 7 Feb 2023 05:08:04 -0500 Subject: [PATCH] Laravel 10.x Compatibility (#161) * Bump dependencies for Laravel 10 * Update GitHub Actions for Laravel 10 * Update run-tests.yml * Update run-tests.yml --------- Co-authored-by: Freek Van der Herten --- .github/workflows/run-tests.yml | 9 +++++++-- composer.json | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 216ea28..880b876 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,19 +10,24 @@ jobs: matrix: os: [ubuntu-latest] php: [8.2, 8.1, 8.0] - laravel: [8.*, 9.*] + laravel: [8.*, 9.*, 10.*] dependency-version: [prefer-stable] include: + - laravel: 10.* + testbench: 8.* - laravel: 9.* testbench: 7.* - laravel: 8.* testbench: 6.* + exclude: + - laravel: 10.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/composer.json b/composer.json index 6d705e7..77e9353 100644 --- a/composer.json +++ b/composer.json @@ -23,11 +23,11 @@ ], "require": { "php": "^7.2|^8.0", - "illuminate/translation": "^6.0|^7.0|^8.0|^9.0" + "illuminate/translation": "^6.0|^7.0|^8.0|^9.0|^10.0" }, "require-dev": { "phpunit/phpunit": "^8.0|^9.0", - "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0" + "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0" }, "autoload": { "psr-4": {