Skip to content

Commit

Permalink
Laravel 12.x Support
Browse files Browse the repository at this point in the history
  • Loading branch information
erikn69 authored and freekmurze committed Feb 10, 2025
1 parent 4239090 commit ba173f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ jobs:
fail-fast: false
matrix:
php: [8.3, 8.2, 8.1]
laravel: ["^11.0", "^10.0", "^9.0"]
laravel: ["^12.0", "^11.0", "^10.0", "^9.0"]
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- laravel: "^12.0"
php: 8.1
- laravel: "^11.0"
php: 8.1
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
Expand All @@ -34,7 +36,7 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.63" --dev --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:>=2.72" --dev --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Execute tests
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
"homepage": "/~https://github.com/spatie/activitylog",
"require": {
"php": "^8.1",
"illuminate/config": "^8.0 || ^9.0 || ^10.0 || ^11.0",
"illuminate/database": "^8.69 || ^9.27 || ^10.0 || ^11.0",
"illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0",
"illuminate/config": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
"illuminate/database": "^8.69 || ^9.27 || ^10.0 || ^11.0 || ^12.0",
"illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
"spatie/laravel-package-tools": "^1.6.3"
},
"require-dev": {
"ext-json": "*",
"orchestra/testbench": "^6.23 || ^7.0 || ^8.0 || ^9.0",
"pestphp/pest": "^1.20 || ^2.0"
"orchestra/testbench": "^6.23 || ^7.0 || ^8.0 || ^9.0 || ^10.0",
"pestphp/pest": "^1.20 || ^2.0 || ^3.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down

0 comments on commit ba173f6

Please sign in to comment.