Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add laravel 11 support #105

Merged
merged 1 commit into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-14]
php: ['8.2', '8.3']
laravel: [11.*, 10.*]
include:
- laravel: 11.*
testbench: 9.*
- laravel: 10.*
testbench: 8.*

steps:
- name: Checkout
Expand All @@ -22,8 +28,10 @@ jobs:
tools: composer:v2
coverage: none

- name: Install PHP dependencies
run: composer update --prefer-stable --no-interaction --no-progress --ansi
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --prefer-dist --no-interaction

- name: Unit Tests
run: vendor/bin/phpunit --colors=always
17 changes: 9 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"require": {
"php": "^8.2",
"ext-fileinfo": "^8.2",
"illuminate/support": "^10.0",
"illuminate/console": "^10.0",
"illuminate/filesystem": "^10.0",
"illuminate/support": "^10.0|^11.0",
"illuminate/console": "^10.0|^11.0",
"illuminate/filesystem": "^10.0|^11.0",
"laravel/prompts": "^0.1.13"
},
"extra": {
Expand All @@ -43,12 +43,12 @@
},
"require-dev": {
"phpunit/phpunit": "^10.3",
"orchestra/testbench": "^8.5",
"laravel/pint": "^1.10",
"orchestra/testbench": "^8.5|^9.0",
"laravel/pint": "^1.10|^2.0",
"spatie/laravel-query-builder": "^5.2",
"spatie/laravel-data": "^3.7",
"spatie/laravel-data": "^3.7|^4.0",
"spatie/laravel-queueable-action": "^2.14",
"phpstan/phpstan": "^1.10"
"phpstan/phpstan": "^1.10|^2.0"
},
"suggest": {
"spatie/laravel-query-builder": "This package is required for Queries.",
Expand All @@ -65,5 +65,6 @@
"pint": "vendor/bin/pint",
"test": "vendor/bin/phpunit",
"phpstan": "vendor/bin/phpstan"
}
},
"minimum-stability": "dev"
}
Loading