diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5e943c9..9fc21aa 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,8 @@ 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 015f449..c5dc8bc 100644 --- a/composer.json +++ b/composer.json @@ -16,13 +16,13 @@ ], "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/blade-icon-generation-helpers": "dev-poc", - "codeat3/phpcs-styles": "dev-main", - "orchestra/testbench": "^6.0", + "codeat3/blade-icon-generation-helpers": "^0.1", + "codeat3/phpcs-styles": "^1.0", + "orchestra/testbench": "^6.0|^7.0", "phpunit/phpunit": "^9.0" }, "autoload": {