Skip to content

Commit

Permalink
Update Laravel support and adjust dependencies in configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed Feb 17, 2025
1 parent c76005a commit 4fb35dd
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
path: $(composer config cache-files-dir)
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

- name: Uninstall Larastan (until laravel 12 support)
run: |
composer remove "larastan/larastan" --no-interaction --no-update
- name: Install Composer dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
fail-fast: false
matrix:
php: [8.4, 8.3, 8.2 ]
laravel: [ 11.* ]
laravel: [ 11.*, 12.*]
dependency-version: [ prefer-stable ]

name: PHP:${{ matrix.php }} / L:${{ matrix.laravel }}
Expand Down Expand Up @@ -68,6 +68,10 @@ jobs:
path: $(composer config cache-files-dir)
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

- name: Uninstall Larastan (until laravel 12 support)
run: |
composer remove "larastan/larastan" --no-interaction --no-update
- name: Install Composer dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ jobs:
fail-fast: false
matrix:
php: [8.4, 8.3, 8.2 ]
laravel: [ 11.* ]
exclude:
- php: 8.1
laravel: 11.*
laravel: [ 11.*, 12.* ]
dependency-version: [ prefer-stable ]

name: PHP:${{ matrix.php }} / L:${{ matrix.laravel }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fail-fast: false
matrix:
php: [8.4, 8.3, 8.2 ]
laravel: [ 11.* ]
laravel: [ 11.*, 12.* ]
include:
- laravel: 11.*
testbench: 9.*
Expand Down
9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "PowerGrid generates Advanced Datatables using Laravel Livewire.",
"homepage": "https://github.com/power-components/livewire-powergrid",
"license": "MIT",
"minimum-stability": "stable",
"minimum-stability": "dev",
"prefer-stable": true,
"authors": [
{
Expand All @@ -25,11 +25,10 @@
"require-dev": {
"composer/composer": "^2.7.9",
"laravel/pint": "1.17",
"laradumps/laradumps-core": "^2.2.2",
"pestphp/pest": "^2.35.1|^3.0",
"orchestra/testbench": "^9.4|^10.0",
"larastan/larastan": "^2.9.8",
"pestphp/pest": "^2.35.1",
"orchestra/testbench": "^9.4",
"laradumps/laradumps": "^3.2",
"laradumps/laradumps": "^3.2|^4.0",
"laravel/scout": "^10.11.3",
"openspout/openspout": "^4.24.5"
},
Expand Down

0 comments on commit 4fb35dd

Please sign in to comment.