From 62f3929f28e4e6fb3d58163d1c87dbd5344f8e81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robson=20Ten=C3=B3rio?= Date: Wed, 7 Feb 2024 13:08:57 -0300 Subject: [PATCH] Laravel 11 (#223) * Laravel 11 * Update tests.yml * Update tests.yml * Update tests.yml * Update composer.json * Update composer.json * Update composer.json * Update tests.yml * Update tests.yml * Update tests.yml --------- Co-authored-by: Dries Vints --- .github/workflows/tests.yml | 16 +++++++++++----- composer.json | 18 +++++++++--------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3eeda0e..159a9c9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,4 @@ -name: Tests +name: Tests on: push: @@ -17,14 +17,20 @@ jobs: fail-fast: true matrix: php: [7.4, '8.0', 8.1, 8.2, 8.3] - laravel: [8, 9, 10] + laravel: [8, 9, 10, 11] exclude: - php: 7.4 laravel: 9 - php: 7.4 laravel: 10 + - php: 7.4 + laravel: 11 - php: '8.0' laravel: 10 + - php: '8.0' + laravel: 11 + - php: 8.1 + laravel: 11 - php: 8.2 laravel: 8 - php: 8.3 @@ -51,7 +57,7 @@ jobs: composer update --prefer-dist --no-interaction --no-progress - name: Execute tests - run: vendor/bin/phpunit --verbose + run: vendor/bin/phpunit windows: runs-on: windows-latest @@ -59,7 +65,7 @@ jobs: strategy: fail-fast: true matrix: - php: [8.2] + php: [8.3] laravel: [10] name: Windows - PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} @@ -81,4 +87,4 @@ jobs: composer update --prefer-dist --no-interaction --no-progress - name: Execute tests - run: vendor/bin/phpunit --verbose + run: vendor/bin/phpunit diff --git a/composer.json b/composer.json index 8f58489..5620dd2 100644 --- a/composer.json +++ b/composer.json @@ -26,17 +26,17 @@ ], "require": { "php": "^7.4|^8.0", - "illuminate/contracts": "^8.0|^9.0|^10.0", - "illuminate/filesystem": "^8.0|^9.0|^10.0", - "illuminate/support": "^8.0|^9.0|^10.0", - "illuminate/view": "^8.0|^9.0|^10.0", - "symfony/console": "^5.3|^6.0", - "symfony/finder": "^5.3|^6.0" + "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0", + "illuminate/filesystem": "^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0", + "illuminate/view": "^8.0|^9.0|^10.0|^11.0", + "symfony/console": "^5.3|^6.0|^7.0", + "symfony/finder": "^5.3|^6.0|^7.0" }, "require-dev": { - "mockery/mockery": "^1.3", - "orchestra/testbench": "^6.0|^7.0|^8.0", - "phpunit/phpunit": "^9.0" + "mockery/mockery": "^1.5.1", + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0", + "phpunit/phpunit": "^9.0|^10.5|^11.0" }, "bin": [ "bin/blade-icons-generate"