Skip to content

Commit

Permalink
Laravel 12.x Compatibility (#14)
Browse files Browse the repository at this point in the history
* Bump dependencies for Laravel 12
* Update GitHub Actions for Laravel 12
  • Loading branch information
laravel-shift authored and pascalbaljet committed Feb 18, 2025
1 parent 0dc66a1 commit 30a1bba
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,19 @@ jobs:
fail-fast: true
matrix:
php: [8.4, 8.3, 8.2]
laravel: ["10.*", "11.*"]
laravel: ["10.*", "11.*", "12.*"]
db: [mysql, postgres, sqlite]
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- laravel: 10.*
php: 8.4
include:
- laravel: 10.*
testbench: 8.*
testbench: ^8.32
- laravel: 11.*
testbench: 9.*
testbench: ^9.10
- laravel: 12.*
testbench: ^10.0

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

Expand Down Expand Up @@ -50,7 +55,7 @@ jobs:
uses: actions/checkout@v2

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.composer/cache/files
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
],
"require": {
"php": "^8.2|^8.3|^8.4",
"illuminate/support": "^10.0|^11.0"
"illuminate/support": "^10.48.28|^11.43|^12.0"
},
"require-dev": {
"mockery/mockery": "^1.4.4",
"orchestra/testbench": "^8.0|^9.0",
"phpunit/phpunit": "^10.4"
"orchestra/testbench": "^8.32|^9.10|^10.0",
"phpunit/phpunit": "^10.4|^11.5.3"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 30a1bba

Please sign in to comment.