Skip to content

Commit

Permalink
Laravel 11.x Compatibility (#12)
Browse files Browse the repository at this point in the history
* Bump dependencies for Laravel 11
* Update GitHub Actions for Laravel 11
* Update composer.json

---------

Co-authored-by: Pascal Baljet <[email protected]>
  • Loading branch information
laravel-shift and pascalbaljet authored Mar 12, 2024
1 parent c31d5e7 commit b984fd1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 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
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
],
"require": {
"php": "^8.1 || ^8.2 || ^8.3",
"illuminate/support": " ^10.0"
"illuminate/support": " ^10.0 || ^11.0"
},
"require-dev": {
"html2text/html2text": "^4.3",
"jeremykendall/php-domain-parser": "^6.0",
"laravel/ui": "^4.0",
"mockery/mockery": "^1.4.4",
"moneyphp/money": "^3.3",
"nesbot/carbon": "^2.66",
"orchestra/testbench": " ^8.0",
"moneyphp/money": "^3.3 || ^4.5",
"nesbot/carbon": "^2.66 || ^3.0",
"orchestra/testbench": " ^8.0 || ^9.0",
"phpunit/phpunit": "^10.4",
"spatie/laravel-sitemap": "^6.0",
"symfony/process": "^6.0"
"spatie/laravel-sitemap": "^6.0 || ^7.2",
"symfony/process": "^6.0 || ^7.0"
},
"suggest": {
"html2text/html2text": "To convert HTML to formatted plain text",
Expand Down

0 comments on commit b984fd1

Please sign in to comment.