Skip to content

Commit

Permalink
Merge pull request #28 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
Nielsvanpach authored Mar 4, 2024
2 parents 4438a77 + 37fc99d commit 953e0a9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,36 @@ name: run-tests

on:
push:
branches: [main]
branches:
- main
pull_request:
branches: [main]
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix:
php: [8.0, 8.1, 8.2]
laravel: [10.*, 9.*]
laravel: ['9.*', '10.*', '11.*']
stability: [prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 10.*
php: 8.0
php: 8.0
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

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

Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
"require": {
"php": "^8.0",
"spatie/laravel-package-tools": "^1.13.6",
"illuminate/contracts": "^9.0|^10.0"
"illuminate/contracts": "^9.0|^10.0|^11.0"
},
"require-dev": {
"laravel/pint": "^1.2",
"nunomaduro/collision": "^6.3.1",
"orchestra/testbench": "^7.11|^8.0",
"pestphp/pest": "^1.22.1",
"pestphp/pest-plugin-laravel": "^1.3",
"phpunit/phpunit": "^9.5.25",
"nunomaduro/collision": "^6.3.1|^8.0",
"orchestra/testbench": "^7.11|^8.0|^9.0",
"pestphp/pest": "^1.22.1|^2.34",
"pestphp/pest-plugin-laravel": "^1.3|^2.3",
"phpunit/phpunit": "^9.5.25|^10.5",
"spatie/laravel-ray": "^1.31",
"spatie/test-time": "^1.3"
},
Expand Down

0 comments on commit 953e0a9

Please sign in to comment.