From 652090eb14fcad86ff3c954070a8c97db0f62149 Mon Sep 17 00:00:00 2001 From: Swapnil Sarwe Date: Thu, 3 Feb 2022 18:40:20 +0530 Subject: [PATCH] added support laravel9 --- .github/workflows/tests.yml | 9 ++++++--- composer.json | 10 +++++----- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5e943c90..dfc81a2e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,8 +11,11 @@ jobs: strategy: fail-fast: true matrix: - php: [7.4, 8.0] - laravel: [^8.0] + php: [7.4, '8.0', 8.1] + laravel: [8, 9] + exclude: + - php: 7.4 + laravel: 9 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} @@ -30,7 +33,7 @@ jobs: - name: Install dependencies run: | - composer require "illuminate/contracts=${{ matrix.laravel }}" --prefer-dist --no-interaction --no-update + composer require "illuminate/contracts=^${{ matrix.laravel }}" --prefer-dist --no-interaction --no-update composer update --prefer-dist --no-interaction --no-progress - name: Execute tests run: vendor/bin/phpunit --verbose diff --git a/composer.json b/composer.json index 0c723b9c..b10e5344 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "codeat3/blade-iconpark", + "name": "codeat3/blad^0.1e "description": "A package to easily make use of \"Icon Park Icons\" in your Laravel Blade views. ", "keywords": ["Blade", "iconpark", "Laravel"], "homepage": "https://github.com/codeat3/blade-iconpark", @@ -16,12 +16,12 @@ ], "require": { "php": "^7.4|^8.0", - "blade-ui-kit/blade-icons": "^1.0", - "illuminate/support": "^8.0" + "blade-ui-kit/blade-icons": "^1.1", + "illuminate/support": "^8.0|^9.0" }, "require-dev": { - "codeat3/phpcs-styles": "dev-main", - "orchestra/testbench": "^6.0", + "codeat3/phpcs-styles": "^1.0", + "orchestra/testbench": "^6.0|^7.0", "phpunit/phpunit": "^9.0" }, "autoload": {