Skip to content

Commit

Permalink
Test Laravel 12 (#538)
Browse files Browse the repository at this point in the history
* Test Laravel 12

* Update composer.json

* Update run-tests.yml

* Update run-tests.yml
  • Loading branch information
barryvdh authored Feb 24, 2025
1 parent a2082bb commit 5b8668e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ on:
- master
pull_request:
branches:
- *
schedule:
- cron: '0 0 * * *'
- "*"

jobs:
php-tests:
Expand All @@ -21,16 +19,18 @@ jobs:

strategy:
matrix:
php: [8.2, 8.1, 8.0]
php: [8.4, 8.3, 8.2, 8.1]
laravel: ['9.*', '10.*', '11.*']
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- laravel: 9.*
php: 8.4
- laravel: 10.*
php: 8.0
php: 8.4
- laravel: 11.*
php: 8.1
- laravel: 11.*
php: 8.0
- laravel: 12.*
php: 8.1

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

Expand All @@ -45,7 +45,7 @@ jobs:
sudo dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb
- name: Setup PHP
uses: shivammathur/setup-php@v4
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
],
"require": {
"php": ">=7.2",
"php": "^8.1",
"illuminate/support": "^9|^10|^11|^12",
"illuminate/filesystem": "^9|^10|^11|^12",
"knplabs/knp-snappy": "^1.4.4"
Expand Down

0 comments on commit 5b8668e

Please sign in to comment.