Skip to content

Commit

Permalink
Added support for laravel 9 (#4)
Browse files Browse the repository at this point in the history
* added support laravel9
  • Loading branch information
swapnilsarwe authored Feb 3, 2022
1 parent 1023fc4 commit e11eecb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 7 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,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
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit e11eecb

Please sign in to comment.