File tree 4 files changed +16
-20
lines changed
4 files changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -17,20 +17,22 @@ jobs:
17
17
- name : Setup PHP
18
18
uses : shivammathur/setup-php@v2
19
19
with :
20
- php-version : 8.1
20
+ php-version : 8.2
21
21
22
22
- name : Cache Composer packages
23
23
id : composer-cache
24
24
uses : actions/cache@v4
25
25
with :
26
26
path : vendor
27
- key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
27
+ key : ${{ runner.os }}-php-8.2- ${{ hashFiles('**/composer.lock') }}
28
28
restore-keys : |
29
- ${{ runner.os }}-php-
29
+ ${{ runner.os }}-php-8.2-
30
+
30
31
- name : Install dependencies
31
32
if : steps.composer-cache.outputs.cache-hit != 'true'
32
33
run : |
33
34
composer install
34
35
composer dump
36
+
35
37
- name : Run analyse phpstan
36
38
run : vendor/bin/phpstan analyse --error-format github
Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ jobs:
15
15
- name : Setup PHP
16
16
uses : shivammathur/setup-php@v2
17
17
with :
18
- php-version : ' 8.1 '
18
+ php-version : ' 8.2 '
19
19
coverage : xdebug
20
20
21
21
- name : Cache Composer packages
22
22
id : composer-cache
23
23
uses : actions/cache@v4
24
24
with :
25
25
path : vendor
26
- key : ${{ runner.os }}-php-8.1 -${{ hashFiles('**/composer.lock') }}
26
+ key : ${{ runner.os }}-php-8.2 -${{ hashFiles('**/composer.lock') }}
27
27
restore-keys : |
28
- ${{ runner.os }}-php--8.1
28
+ ${{ runner.os }}-php--8.2
29
29
30
30
- name : Install dependencies
31
31
if : steps.composer-cache.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change @@ -11,23 +11,17 @@ jobs:
11
11
strategy :
12
12
fail-fast : false
13
13
matrix :
14
- php : [8.3, 8.2, 8.1, 8.0 ]
15
- laravel : ['9.*', ' 10.*', '11.*']
14
+ php : [8.3, 8.2, 8.1]
15
+ laravel : ['10.*', '11.*']
16
16
dependency-version : [prefer-stable]
17
17
include :
18
- - laravel : 9.*
19
- testbench : 7.*
20
18
- laravel : 10.*
21
19
testbench : 8.*
22
20
- laravel : 11.*
23
21
testbench : 9.*
24
22
exclude :
25
- - laravel : 10.*
26
- php : 8.0
27
23
- laravel : 11.*
28
24
php : 8.1
29
- - laravel : 11.*
30
- php : 8.0
31
25
32
26
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
33
27
Original file line number Diff line number Diff line change 12
12
],
13
13
"type" : " library" ,
14
14
"require" : {
15
- "php" : " ^8.0 " ,
16
- "illuminate/console" : " ^9.0|^ 10.0|^11.0" ,
17
- "illuminate/database" : " ^9.0|^ 10.0|^11.0" ,
18
- "illuminate/events" : " ^9.0|^ 10.0|^11.0" ,
19
- "illuminate/support" : " ^9.0|^ 10.0|^11.0"
15
+ "php" : " ^8.1 " ,
16
+ "illuminate/console" : " ^10.0|^11.0" ,
17
+ "illuminate/database" : " ^10.0|^11.0" ,
18
+ "illuminate/events" : " ^10.0|^11.0" ,
19
+ "illuminate/support" : " ^10.0|^11.0"
20
20
},
21
21
"require-dev" : {
22
22
"phpunit/phpunit" : " ^9.0|^10.5" ,
23
- "orchestra/testbench" : " ^7.0|^ 8.0|^9.0" ,
23
+ "orchestra/testbench" : " ^8.0|^9.0" ,
24
24
"laravel/legacy-factories" : " ^1.0.4" ,
25
25
"friendsofphp/php-cs-fixer" : " ^3.13" ,
26
26
"larastan/larastan" : " ^2.0"
You can’t perform that action at this time.
0 commit comments