Skip to content

Commit

Permalink
Merge pull request #30 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
tonysm authored Mar 6, 2024
2 parents 8cffabb + 612e44d commit c73b39d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@ name: run-tests

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

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.0, 8.1, 8.2]
laravel: [8.*, 9.*, 10.*]
laravel: ['8.*', '9.*', '10.*', '11.*']
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 8.*
Expand All @@ -23,11 +26,17 @@ jobs:
testbench: 7.*
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: ^9.0
exclude:
- laravel: 10.*
php: 8.0
- laravel: 8.*
php: 8.2
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

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

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"require": {
"php": "^8.0",
"spatie/laravel-package-tools": "^1.9.2",
"illuminate/contracts": "^8.73|^9.0|^10.0"
"illuminate/contracts": "^8.73|^9.0|^10.0|^11.0"
},
"require-dev": {
"nunomaduro/collision": "^5.10|^6.0",
"orchestra/testbench": "^6.25|^7.0|^8.0",
"phpunit/phpunit": "^9.5"
"nunomaduro/collision": "^5.10|^6.0|^8.0",
"orchestra/testbench": "^6.25|^7.0|^8.0|^9.0",
"phpunit/phpunit": "^9.5|^10.5"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit c73b39d

Please sign in to comment.