From 9dabaea7a53e76470d31a9534a4831b9e29b5b2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20J=C3=B8rgensen?= Date: Sun, 26 Mar 2023 22:10:49 +0200 Subject: [PATCH 1/2] Update composer.json --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 96889cd..de1d559 100644 --- a/composer.json +++ b/composer.json @@ -20,13 +20,13 @@ } ], "require": { - "php": "^7.2.5|^8.0", - "illuminate/console": "^6.0|^7.0|^8.0|^9.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0" + "php": "^7.2.5|^8.0|^8.1", + "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0" }, "require-dev": { - "orchestra/testbench": "~3.8.0|^4.0|^5.0|^6.3|^7.0", - "phpunit/phpunit": "^8.0|^9.0" + "orchestra/testbench": "~3.8.0|^4.0|^5.0|^6.3|^7.0|^8.0", + "phpunit/phpunit": "^8.0|^9.0|^10.0" }, "autoload": { "psr-4": { From d087331d4a7d9019b7c0ff684d957c625caa2772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20J=C3=B8rgensen?= Date: Sun, 26 Mar 2023 22:10:51 +0200 Subject: [PATCH 2/2] Update tests.yml --- .github/workflows/tests.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 683987f..89c7d8f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ jobs: fail-fast: true matrix: php: [7.2, 7.3, 7.4, 8.0, 8.1] - laravel: [^6.0, ^7.0, ^8.0, ^9.0] + laravel: [^6.0, ^7.0, ^8.0, ^9.0, ^10.0] dependency-version: [prefer-lowest, prefer-stable] exclude: @@ -28,12 +28,24 @@ jobs: - php: 7.2 laravel: ^9.0 + - php: 7.2 + laravel: ^10.0 + - php: 7.3 laravel: ^9.0 + - php: 7.3 + laravel: ^10.0 + - php: 7.4 laravel: ^9.0 + - php: 7.4 + laravel: ^10.0 + + - php: 8.0 + laravel: ^10.0 + - php: 8.1 laravel: ^6.0 @@ -53,6 +65,9 @@ jobs: - laravel: ^9.0 testbench: ^7.0 + - laravel: ^10.0 + testbench: ^8.0 + name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} steps: @@ -72,7 +87,7 @@ jobs: with: timeout_minutes: 5 max_attempts: 5 - command: composer require phpunit/phpunit:^9.5.8 --no-interaction --no-update + command: composer require phpunit/phpunit:^9.5.8 --dev --no-interaction --no-update if: matrix.php >= 8.1 - name: Install dependencies