Skip to content

Commit

Permalink
laravel 11 support (#64)
Browse files Browse the repository at this point in the history
* laravel 11 support
  • Loading branch information
saqueib authored Aug 24, 2024
1 parent 04d3d4c commit 8e9c040
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,15 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.0, 8.1, 8.2]
laravel: [^8.83.27, ^9.51.0, ^10.0.0]
stability: [prefer-lowest, prefer-stable]
os: [ubuntu-latest]
php: [8.3, 8.2]
laravel: [10.*, 11.*]
stability: [prefer-stable]
include:
- laravel: ^10.0.0
testbench: ^8.0.0
- laravel: ^9.51.0
testbench: ^7.22.0
- laravel: ^8.83.27
testbench: ^6.25.1
exclude:
- php: 8.0
laravel: ^10.0.0
- php: 8.1
laravel: ^8.83.27

- laravel: 11.*
testbench: 9.*
- laravel: 10.*
testbench: 8.*

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

Expand All @@ -48,7 +40,6 @@ jobs:
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
composer require nesbot/carbon:^2.68.1
- name: List Installed Dependencies
run: composer show -D
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
],
"require": {
"php": "^8.0",
"illuminate/contracts": "^8.83.27|^9.51.0|^10.0.0",
"illuminate/contracts": "^8.83.27|^9.51.0|^10.0.0|^11.0",
"spatie/laravel-package-tools": "^1.12"
},
"require-dev": {
"orchestra/testbench": "^6.25.1|^7.22.0|^8.0.0",
"orchestra/testbench": "^6.25.1|^7.22.0|^8.0.0|^9.0",
"mockery/mockery": "^0.9.4 || ~1.0",
"pestphp/pest": "^1.23.1|^2.11",
"pestphp/pest-plugin-laravel": "^1.4|^2.1",
Expand Down

0 comments on commit 8e9c040

Please sign in to comment.