From 2c9f13dce7eb1b5a1c140788c9dad3d0722d3164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20=C3=96z=C4=B1=C5=9F=C4=B1k?= Date: Sat, 25 Feb 2023 17:10:20 +0200 Subject: [PATCH] Laravel 10.x (#3) * upgrade deps * update workflow * update workflow * update workflow * update --- .github/workflows/run-tests.yml | 24 +++++++++++++----------- composer.json | 6 +++--- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 9a357ba..99d3118 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -17,31 +17,33 @@ jobs: # Disable testing on windows for now... # os: [ubuntu-latest, windows-latest] os: [ubuntu-latest] - php: [7.4, 8.0, 8.1] - laravel: [7.*, 8.*, 9.*] - #stability: [prefer-lowest, prefer-stable] + php: [7.4, 8.0, 8.1, 8.2] + laravel: [7.*, 8.*, 9.*, 10.*] stability: [prefer-stable] include: - laravel: 7.* testbench: 5.* - laravel: 8.* - testbench: ^6.6 + testbench: 6.* - laravel: 9.* testbench: 7.* - # Laravel 7 has no support for PHP 8.1 + - laravel: 10.* + testbench: 8.* exclude: - laravel: 7.* php: 8.1 - # Older versions of L7 doesn't support PHP 8 - laravel: 7.* - php: 8 - stability: prefer-lowest - # Laravel 8 doesn't support PHP 8.1 + php: 8.2 - laravel: 8.* - php: 8.1 - # Laravel 9 doesn't support < PHP 8 + php: 8.1 + - laravel: 8.* + php: 8.2 - laravel: 9.* + php: 7.4 + - laravel: 10.* php: 7.4 + - laravel: 10.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index c154876..e874a58 100644 --- a/composer.json +++ b/composer.json @@ -17,12 +17,12 @@ ], "require": { "php": "^7.4|^8.0", - "illuminate/contracts": "^7.0|^8.0|^9.0", - "illuminate/support": "^7.0|^8.0|^9.0" + "illuminate/contracts": "^7.0|^8.0|^9.0|^10.0", + "illuminate/support": "^7.0|^8.0|^9.0|^10.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.1", - "orchestra/testbench": "5.*|6.*|7.*", + "orchestra/testbench": "5.*|6.*|7.*|8.*", "phpunit/phpunit": "^8.4|^9.0" }, "autoload": {