From a6dead1de5a7735825faa1cda0c2884e8dae325f Mon Sep 17 00:00:00 2001 From: erikn69 Date: Fri, 13 Jan 2023 12:52:31 -0500 Subject: [PATCH] Laravel 10.x support --- .github/workflows/run-tests.yml | 12 +++++++++--- composer.json | 10 +++++----- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 3d52ee8..d3f91f6 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -6,26 +6,32 @@ jobs: test: runs-on: ${{ matrix.os }} strategy: - fail-fast: true + fail-fast: false matrix: os: [ubuntu-latest] php: [7.4, 8.0, 8.1, 8.2] - laravel: [8.*, 9.*] + laravel: [8.*, 9.*, 10.*] dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 8.* testbench: ^6.24 - laravel: 9.* testbench: 7.* + - laravel: 10.* + testbench: 8.* exclude: - laravel: 9.* php: 7.4 + - laravel: 10.* + php: 7.4 + - 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: Cache dependencies uses: actions/cache@v2 diff --git a/composer.json b/composer.json index dfc15cd..d24f90f 100644 --- a/composer.json +++ b/composer.json @@ -18,13 +18,13 @@ "require": { "php": "^7.4|^8.0", "ext-json": "*", - "illuminate/console": "^8.0|^9.0", - "illuminate/contracts": "^8.0|^9.0", - "illuminate/database": "^8.0|^9.0" + "illuminate/console": "^8.0|^9.0|^10.0", + "illuminate/contracts": "^8.0|^9.0|^10.0", + "illuminate/database": "^8.0|^9.0|^10.0" }, "require-dev": { "mockery/mockery": "^1.4", - "orchestra/testbench": "^6.24|^7.0", + "orchestra/testbench": "^6.24|^7.0|^8.0", "pestphp/pest-plugin-laravel": "^1.3", "phpunit/phpunit": "^9.5.13", "spatie/temporary-directory": "^1.2", @@ -70,4 +70,4 @@ "url": "https://spatie.be/open-source/support-us" } ] -} \ No newline at end of file +}