File tree Expand file tree Collapse file tree 3 files changed +1494
-1316
lines changed Expand file tree Collapse file tree 3 files changed +1494
-1316
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ${{ matrix.os }}
8
8
strategy :
9
9
matrix :
10
- php : [8.0, 8.1]
11
- dependency-version : [prefer-stable, prefer-lowest]
10
+ php : [8.1, 8.2]
11
+ laravel : [9.*, 10.*]
12
+ dependency-version : [prefer-stable]
12
13
os : [ubuntu-latest]
14
+ include :
15
+ - laravel : 9.*
16
+ testbench : ^7.0
17
+ - laravel : 10.*
18
+ testbench : ^8.0
13
19
14
- name : P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
20
+ name : P${{ matrix.php }} - L${{ matrix.laravel}} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
15
21
16
22
steps :
17
23
- name : Setup PHP
@@ -21,16 +27,18 @@ jobs:
21
27
coverage : none
22
28
23
29
- name : Checkout code
24
- uses : actions/checkout@v2
30
+ uses : actions/checkout@v3
25
31
26
32
- name : Cache dependencies
27
- uses : actions/cache@v1
33
+ uses : actions/cache@v2
28
34
with :
29
35
path : ~/.composer/cache/files
30
- key : dependencies-laravel-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
36
+ key : dependencies-laravel-${{ matrix.laravel }}- php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
31
37
32
38
- name : Install dependencies
33
- run : composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
39
+ run : |
40
+ composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
41
+ composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
34
42
35
43
- name : Execute tests
36
44
run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 10
10
}
11
11
],
12
12
"require" : {
13
- "php" : " ^8.0 " ,
14
- "laravel/framework" : " ^9.0" ,
15
- "roach-php/core" : " ^1.0" ,
13
+ "php" : " ^8.1 " ,
14
+ "laravel/framework" : " ^9.49 || ^10. 0" ,
15
+ "roach-php/core" : " ^1.0 || ^2.0 " ,
16
16
"spatie/laravel-package-tools" : " ^1.11"
17
17
},
18
18
"require-dev" : {
19
19
"ergebnis/composer-normalize" : " ^2.15" ,
20
- "ergebnis/php-cs-fixer-config" : " ^3 .0" ,
21
- "orchestra/testbench" : " ^7.0" ,
20
+ "ergebnis/php-cs-fixer-config" : " ^5 .0" ,
21
+ "orchestra/testbench" : " ^7.0 || ^8.0 " ,
22
22
"phpunit/phpunit" : " ^9.5" ,
23
23
"roave/security-advisories" : " dev-latest" ,
24
24
"spatie/phpunit-snapshot-assertions" : " ^4.2"
You can’t perform that action at this time.
0 commit comments