Skip to content

Commit

Permalink
added support laravel9
Browse files Browse the repository at this point in the history
  • Loading branch information
swapnilsarwe committed Feb 3, 2022
1 parent c4799b8 commit 652090e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down

0 comments on commit 652090e

Please sign in to comment.