Skip to content

Commit

Permalink
Merge pull request #106 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
freekmurze authored Mar 2, 2024
2 parents bbee517 + c301ed4 commit 31c3baa
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,34 @@
name: run-tests

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

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

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

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

Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@
],
"require": {
"php": "^8.0",
"illuminate/bus": "^9.0|^10.0",
"illuminate/bus": "^9.0|^10.0|^11.0",
"lorisleiva/cron-translator": "^0.3.0|^0.4.0",
"nesbot/carbon": "^2.63",
"nesbot/carbon": "^2.63|^3.0",
"nunomaduro/termwind": "^1.10.1|^2.0",
"spatie/laravel-package-tools": "^1.9"
},
"require-dev": {
"mockery/mockery": "^1.4",
"ohdearapp/ohdear-php-sdk": "^3.0",
"orchestra/testbench": "^7.0|^8.0",
"pestphp/pest": "^1.20",
"pestphp/pest-plugin-laravel": "^1.2",
"spatie/pest-plugin-snapshots": "^1.1",
"spatie/phpunit-snapshot-assertions": "^4.2",
"orchestra/testbench": "^7.0|^8.0|^9.0",
"pestphp/pest": "^1.20|^2.34",
"pestphp/pest-plugin-laravel": "^1.2|^2.3",
"spatie/pest-plugin-snapshots": "^1.1|^2.1",
"spatie/phpunit-snapshot-assertions": "^4.2|^5.1",
"spatie/test-time": "^1.2"
},
"suggest": {
Expand Down

0 comments on commit 31c3baa

Please sign in to comment.