From a068da3a932d25f761b7547ee1a103a147c4515f Mon Sep 17 00:00:00 2001 From: Ngo Quoc Dat Date: Mon, 23 Jan 2023 23:17:04 +0700 Subject: [PATCH 1/3] Laravel 10.x support --- .github/workflows/tests.yml | 8 +++++--- composer.json | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 75fddb0..dcae874 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,10 +10,12 @@ jobs: strategy: fail-fast: false matrix: - php: [ 8.1, 8.0 ] - laravel: [ 9.*, 8.* ] + php: [ 8.2, 8.1, 8.0 ] + laravel: [ 10.*, 9.*, 8.* ] dependency-version: [ prefer-stable ] include: + - laravel: 10.* + testbench: 8.* - laravel: 9.* testbench: 7.* - laravel: 8.* @@ -37,4 +39,4 @@ jobs: composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest - name: Execute tests - run: vendor/bin/phpunit --verbose \ No newline at end of file + run: vendor/bin/phpunit --verbose diff --git a/composer.json b/composer.json index 7bd02b7..63dc272 100644 --- a/composer.json +++ b/composer.json @@ -15,11 +15,11 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0" + "illuminate/support": "^8.0|^9.0|^10.0" }, "require-dev": { "livewire/livewire": "^2.3", - "orchestra/testbench": "^6.2|^7.0", + "orchestra/testbench": "^6.2|^7.0|^8.0", "phpunit/phpunit": "^9.4", "symplify/monorepo-builder": "^9.0" }, From 2b6f704dd89b079ebd2d5f44e9d6405f7195832f Mon Sep 17 00:00:00 2001 From: Ngo Quoc Dat Date: Mon, 23 Jan 2023 23:20:28 +0700 Subject: [PATCH 2/3] exclude laravel 10 from php8.0 --- .github/workflows/tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dcae874..4668c0d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,6 +20,9 @@ jobs: testbench: 7.* - laravel: 8.* testbench: 6.* + exclude: + - php: 8.0 + laravel: 10.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} steps: - uses: actions/checkout@v2 From 9b84287009cb7a60b7d40d150e864cb70f8a384f Mon Sep 17 00:00:00 2001 From: Ngo Quoc Dat Date: Mon, 23 Jan 2023 23:22:11 +0700 Subject: [PATCH 3/3] Update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 56dc947..9025e0d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@

Tests passing - Laravel v8.x + Laravel v8.x, v9.x, v10.x PHP 8