Skip to content

Commit

Permalink
Add Support for Laravel 11 (#19)
Browse files Browse the repository at this point in the history
* Support Laravel 11

* Run Tests for Laravel 11

* Upgrade actions/checkout
  • Loading branch information
stefanzweifel authored Feb 3, 2024
1 parent aa0c4ce commit 4e7f8f3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,28 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.3, 8.2, 8.1, 8.0]
laravel: [9.*, 10.*]
laravel: [9.*, 10.*, 11.*]
dependency-version: [prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

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

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"require": {
"php": "^8.0",
"spatie/laravel-package-tools": "^1.9.2",
"illuminate/contracts": "^9.0 | ^10.0"
"illuminate/contracts": "^9.0 | ^10.0 | ^11.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.4",
"nunomaduro/collision": "^5.10 |^6.0 | ^7.0",
"nunomaduro/larastan": "^2.0",
"orchestra/testbench": "^7 | ^8",
"nunomaduro/collision": "^5.10 |^6.0 | ^7.0 | ^8.0",
"larastan/larastan": "^2.0",
"orchestra/testbench": "^7 | ^8 | ^9",
"pestphp/pest": "^1.21 | ^2.0",
"pestphp/pest-plugin-laravel": "^1.1 | ^2.0",
"phpstan/extension-installer": "^1.1",
Expand Down

0 comments on commit 4e7f8f3

Please sign in to comment.