Skip to content

Commit 5b8668e

Browse files
authored
Test Laravel 12 (#538)
* Test Laravel 12 * Update composer.json * Update run-tests.yml * Update run-tests.yml
1 parent a2082bb commit 5b8668e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/run-tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ on:
66
- master
77
pull_request:
88
branches:
9-
- *
10-
schedule:
11-
- cron: '0 0 * * *'
9+
- "*"
1210

1311
jobs:
1412
php-tests:
@@ -21,16 +19,18 @@ jobs:
2119

2220
strategy:
2321
matrix:
24-
php: [8.2, 8.1, 8.0]
22+
php: [8.4, 8.3, 8.2, 8.1]
2523
laravel: ['9.*', '10.*', '11.*']
2624
dependency-version: [prefer-lowest, prefer-stable]
2725
exclude:
26+
- laravel: 9.*
27+
php: 8.4
2828
- laravel: 10.*
29-
php: 8.0
29+
php: 8.4
3030
- laravel: 11.*
3131
php: 8.1
32-
- laravel: 11.*
33-
php: 8.0
32+
- laravel: 12.*
33+
php: 8.1
3434

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

@@ -45,7 +45,7 @@ jobs:
4545
sudo dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb
4646
4747
- name: Setup PHP
48-
uses: shivammathur/setup-php@v4
48+
uses: shivammathur/setup-php@v2
4949
with:
5050
php-version: ${{ matrix.php }}
5151
coverage: none

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
],
1919
"require": {
20-
"php": ">=7.2",
20+
"php": "^8.1",
2121
"illuminate/support": "^9|^10|^11|^12",
2222
"illuminate/filesystem": "^9|^10|^11|^12",
2323
"knplabs/knp-snappy": "^1.4.4"

0 commit comments

Comments
 (0)