Skip to content

Commit

Permalink
Merge pull request #9 from wandesnet/add-support-laravel-11
Browse files Browse the repository at this point in the history
add support laravel 11
  • Loading branch information
wandesnet committed Mar 17, 2024
2 parents 3369561 + a22e2d5 commit a5c9468
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.1, 8.2, 8.3]
laravel: [10.*]
stability: [prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
carbon: ^2.63
laravel: [10.*, 11.*]
exclude:
- php: 8.1
laravel: 11.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.os }}

steps:
- name: Checkout code
Expand All @@ -44,8 +42,8 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Execute pint
run: vendor/bin/pint --test
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
],
"require": {
"php": "^8.1.0",
"laravel/framework": "^10.0",
"ramsey/uuid": "^4.7.5",
"laravel/framework": "^10.0|^11.0",
"ramsey/uuid": "^4.7",
"saloonphp/saloon": "^3.5"
},
"require-dev": {
"laravel/pint": "^1.13.10",
"orchestra/testbench": "^8.21.1",
"pestphp/pest": "^2.33.6",
"phpstan/phpstan": "^1.10.57"
"laravel/pint": "^1.0",
"orchestra/testbench": "^8.0|^9.0",
"pestphp/pest": "^2.0",
"phpstan/phpstan": "^1.0"
},
"autoload": {
"files": [
Expand Down

0 comments on commit a5c9468

Please sign in to comment.