Skip to content

Commit

Permalink
Laravel 11 support (#41)
Browse files Browse the repository at this point in the history
* Laravel 11 support

* fix

* refactor test

* fix
  • Loading branch information
norbybaru committed Apr 2, 2024
1 parent 99e7b16 commit a16e17d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 7 deletions.
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
# Maintain dependencies for Composer
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "weekly"
labels:
- "composer"
- "dependencies"
13 changes: 8 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.0, 8.1]
laravel: [8.*, 9.*, 10.*]
php: [8.0, 8.1, 8.2, 8.3]
laravel: [9.*, 10.*, 11.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 8.*
testbench: ^6.0
exclude:
- laravel: 9.*
php: 8.3
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

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

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"require": {
"php": "^8.0",
"aws/aws-sdk-php": "^3.209",
"illuminate/support": "^8.0|^9.52|^10.0",
"illuminate/support": "^9.52|^10.0|^11.0",
"spatie/enum": "^3.13"
},
"minimum-stability": "dev",
Expand All @@ -47,7 +47,7 @@
"require-dev": {
"guzzlehttp/guzzle": "^7.4",
"nunomaduro/larastan": "^1.0|^2.0",
"orchestra/testbench": "^6.24|^7.0|^8.0",
"orchestra/testbench": "^7.0|^8.0|9.0",
"phpunit/phpunit": "^9.5|^10.0",
"vlucas/phpdotenv": "^5.4"
}
Expand Down

0 comments on commit a16e17d

Please sign in to comment.