From edf07233fb4f005f1cea69a9e5ecca7c97ab8500 Mon Sep 17 00:00:00 2001 From: Kazuki Yamada Date: Sun, 16 Apr 2023 22:54:55 +0900 Subject: [PATCH] chore: add test laravel version 10 --- .github/workflows/tests.yml | 8 ++++++-- composer.json | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3bb7bbc..62b6885 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,14 +17,18 @@ jobs: fail-fast: true matrix: php-version: ['7.2', '7.3', '7.4', '8.0', '8.1'] - laravel-version: ['5.7.*', '5.8.*', '^6.0', '^7.0', '^8.0', '^9.0'] + laravel-version: ['5.7.*', '5.8.*', '^6.0', '^7.0', '^8.0', '^9.0', '^10.0'] exclude: - - { php-version: '7.2', laravel-version: '^9.0' } - { php-version: '7.2', laravel-version: '^8.0' } + - { php-version: '7.2', laravel-version: '^9.0' } + - { php-version: '7.2', laravel-version: '^10.0' } - { php-version: '7.3', laravel-version: '^9.0' } + - { php-version: '7.3', laravel-version: '^10.0' } - { php-version: '7.4', laravel-version: '^9.0' } + - { php-version: '7.4', laravel-version: '^10.0' } - { php-version: '8.0', laravel-version: '5.7.*' } - { php-version: '8.0', laravel-version: '5.8.*' } + - { php-version: '8.0', laravel-version: '^10.0' } - { php-version: '8.1', laravel-version: '5.7.*' } - { php-version: '8.1', laravel-version: '5.8.*' } - { php-version: '8.1', laravel-version: '^6.0' } diff --git a/composer.json b/composer.json index f4cb316..7c2de38 100644 --- a/composer.json +++ b/composer.json @@ -17,11 +17,11 @@ ], "require": { "php": "^7.2 || ^8.0", - "laravel/framework": "^5.7 || ^6.0 || ^7.0 || ^8.0 || ^9.0", + "laravel/framework": "^5.7 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0", "mrclay/minify": "^3.0" }, "require-dev": { - "orchestra/testbench": "~3.7|^4.0|^5.0|^6.0|^7.0", + "orchestra/testbench": "~3.7|^4.0|^5.0|^6.0|^7.0|^8.0", "phpstan/phpstan": "^1.2" }, "autoload": {