From 42970e1a09908d0e0d556bbac0fbd37db2786389 Mon Sep 17 00:00:00 2001 From: erikn69 Date: Mon, 16 Jan 2023 16:00:51 -0500 Subject: [PATCH] Laravel 10.x support --- .github/workflows/run-tests.yml | 7 +++++-- composer.json | 8 ++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 0b4ed784..3ded62c2 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,9 +13,12 @@ jobs: strategy: fail-fast: false matrix: - php: [8.1, 8.0, 8.2] - laravel: ["^9.0", "^8.0"] + php: [8.2, 8.1, 8.0, 8.2] + laravel: ["^10.0", "^9.0", "^8.0"] dependency-version: [prefer-lowest, prefer-stable] + exclude: + - laravel: "^10.0" + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index 04f08cb5..4975b0c2 100644 --- a/composer.json +++ b/composer.json @@ -32,14 +32,14 @@ "homepage": "https://github.com/spatie/activitylog", "require": { "php": "^8.0", - "illuminate/config": "^8.0 || ^9.0", - "illuminate/database": "^8.69 || ^9.27", - "illuminate/support": "^8.0 || ^9.0", + "illuminate/config": "^8.0 || ^9.0 || ^10.0", + "illuminate/database": "^8.69 || ^9.27 || ^10.0", + "illuminate/support": "^8.0 || ^9.0 || ^10.0", "spatie/laravel-package-tools": "^1.6.3" }, "require-dev": { "ext-json": "*", - "orchestra/testbench": "^6.23 || ^7.0", + "orchestra/testbench": "^6.23 || ^7.0 || ^8.0", "pestphp/pest": "^1.20" }, "minimum-stability": "dev",