Skip to content

Commit

Permalink
🔧 support laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
willpower232 committed Mar 13, 2024
1 parent 30e2d42 commit 0c27fc5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ jobs:
strategy:
fail-fast: false
matrix:
laravel: [10]
laravel: [10, 11]
php: [8.1, 8.2, 8.3]
exclude:
- php: 8.1
laravel: 11

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: test against Laravel ${{ matrix.laravel }} on PHP ${{ matrix.php }}
run: docker build . --build-arg PHP_VERSION=${{ matrix.php }} --build-arg LARAVEL=${{ matrix.laravel }}
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
],
"require": {
"php": "^8.0",
"illuminate/session": "^8.0 || ^9.0 || ^10.0",
"illuminate/support": "^8.0 || ^9.0 || ^10.0"
"illuminate/session": "^8.0 || ^9.0 || ^10.0 || ^11.0",
"illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0"
},
"require-dev": {
"orchestra/testbench": "^8.0",
"orchestra/testbench": "^8.0 || ^9.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^1",
"phpunit/phpunit": "^10.0",
Expand Down

0 comments on commit 0c27fc5

Please sign in to comment.