File tree Expand file tree Collapse file tree 4 files changed +19
-11
lines changed Expand file tree Collapse file tree 4 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 13
13
14
14
jobs :
15
15
tests :
16
+ name : PHP ${{ matrix.php-version }} - L${{ matrix.laravel-version }} - ${{ matrix.os }}
17
+
16
18
strategy :
17
19
fail-fast : false
18
20
matrix :
19
- php-version : ['8.1', '8.2']
21
+ php-version : ['8.1', '8.2', '8.3']
22
+ laravel-version : [10, 11]
20
23
os : [ubuntu-latest, windows-latest, macos-latest]
21
24
dependencies : [locked]
22
25
experimental : [false]
26
+ exclude :
27
+ - laravel-version : 11
28
+ php-version : 8.1
23
29
24
- name : PHP ${{ matrix.php-version }} - ${{ matrix.os }}
25
30
runs-on : ${{ matrix.os }}
26
31
continue-on-error : ${{ matrix.experimental }}
27
32
37
42
uses : actions/cache@v2
38
43
with :
39
44
path : ${{ steps.determine-composer-cache-directory.outputs.directory }}
40
- key : dependencies-os-${{ matrix.os }}-php-${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.lock') }}
41
- restore-keys : dependencies-os-${{ matrix.os }}-php-${{ matrix.php-version }}-composer-
45
+ key : dependencies-os-${{ matrix.os }}-php-${{ matrix.php-version }}-laravel-${{ matrix.laravel-version }}- composer-${{ hashFiles('**/composer.lock') }}
46
+ restore-keys : dependencies-os-${{ matrix.os }}-php-${{ matrix.php-version }}-laravel-${{ matrix.laravel-version }}- composer-
42
47
43
48
- name : Setup PHP
44
49
uses : shivammathur/setup-php@v2
79
84
command : composer install ${{ env.COMPOSER_FLAGS }}
80
85
81
86
- name : Install Laravel
82
- run : composer require laravel/framework --no-update
87
+ run : composer require laravel/framework:${{ matrix.laravel-version }}.* --no-update
83
88
84
89
- name : Run tests
85
90
run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 25
25
strategy :
26
26
fail-fast : false
27
27
matrix :
28
- php-version : ['8.1', '8.2']
29
- laravel-version : [10]
28
+ php-version : ['8.1', '8.2', '8.3' ]
29
+ laravel-version : [10, 11 ]
30
30
os : [ubuntu-latest]
31
+ exclude :
32
+ - laravel : 11.*
33
+ php-version : 8.1
31
34
32
35
runs-on : ${{ matrix.os }}
33
36
Original file line number Diff line number Diff line change 12
12
- name : Setup PHP
13
13
uses : shivammathur/setup-php@v2
14
14
with :
15
- php-version : ' 8.1 '
15
+ php-version : ' 8.2 '
16
16
tools : phplint, laravel/pint
17
17
- name : Check syntax
18
18
run : phplint .
Original file line number Diff line number Diff line change 10
10
"license" : " MIT" ,
11
11
"require" : {
12
12
"doctrine/dbal" : " ^3.3" ,
13
- "illuminate/console" : " ^10.0" ,
14
- "illuminate/filesystem" : " ^10.0" ,
15
- "illuminate/support" : " ^10.0" ,
13
+ "illuminate/console" : " ^10.0|^11.0 " ,
14
+ "illuminate/filesystem" : " ^10.0|^11.0 " ,
15
+ "illuminate/support" : " ^10.0|^11.0 " ,
16
16
"laravel-shift/faker-registry" : " ^0.3.0" ,
17
17
"symfony/yaml" : " >=6.2"
18
18
},
You can’t perform that action at this time.
0 commit comments