Skip to content

Commit df12a3e

Browse files
committed
Add Laravel version check
1 parent bacd5dc commit df12a3e

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/phptest.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,19 @@ jobs:
1010

1111
strategy:
1212
matrix:
13-
php-versions: [7.4, 8.0.6, 8.1, 8.2]
13+
php-versions: [7.4, 8.0, 8.1, 8.2]
14+
laravel: [8.*]
15+
include:
16+
- php: 8.0
17+
laravel: 9.*
18+
- php: 8.1
19+
laravel: 9.*
20+
- php: 8.2
21+
laravel: 9.*
22+
- php: 8.1
23+
laravel: 10.*
24+
- php: 8.2
25+
laravel: 10.*
1426

1527
steps:
1628
- name: Cancel Previous Runs
@@ -31,7 +43,9 @@ jobs:
3143
tools: composer:v2
3244

3345
- name: Composer Install
34-
run: composer install
46+
run: |
47+
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
48+
composer install
3549
3650
- name: PHPUNIT Tests
3751
run: |

0 commit comments

Comments
 (0)