Skip to content

Commit

Permalink
Laravel 11.x Compatibility (#24)
Browse files Browse the repository at this point in the history
* Bump dependencies for Laravel 11
* Update GitHub Actions for Laravel 11
  • Loading branch information
laravel-shift authored Feb 27, 2024
1 parent 3730a2e commit bfa5d15
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
name: run-tests

on: [push, pull_request]
on:
- push
- pull_request

jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix:
php: [8.3, 8.2, 8.1]
laravel: [10.*]
laravel: ['10.*', '11.*']
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 11.*
php: 8.1

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

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
],
"require": {
"php": "^8.1|^8.2|^8.3",
"illuminate/support": "^10.0"
"illuminate/support": "^10.0|^11.0"
},
"require-dev": {
"orchestra/testbench": "^8.0",
"orchestra/testbench": "^8.0|^9.0",
"phpunit/phpunit": "^10.4"
},
"autoload": {
Expand Down Expand Up @@ -49,4 +49,4 @@
]
}
}
}
}

0 comments on commit bfa5d15

Please sign in to comment.