File tree Expand file tree Collapse file tree 9 files changed +2761
-2740
lines changed
Expand file tree Collapse file tree 9 files changed +2761
-2740
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ jobs:
1616 strategy :
1717 fail-fast : false
1818 matrix :
19- php : [8.1 , 8.2 , 8.3 ]
20- laravel : [10 .*]
19+ php : [8.2 , 8.3 , 8.4 ]
20+ laravel : [12 .*]
2121
2222 name : PHP:${{ matrix.php }} / Laravel:${{ matrix.laravel }}
2323
2424 steps :
2525 - name : Checkout
26- uses : actions/checkout@v2
26+ uses : actions/checkout@v4
2727
2828 - name : Setup PHP, with composer and extensions
2929 uses : shivammathur/setup-php@v2
@@ -33,24 +33,16 @@ jobs:
3333 tools : composer:v2
3434 coverage : xdebug
3535
36- - name : Get composer cache directory
37- id : composer-cache
38- run : echo "::set-output name=dir::$(composer config cache-files-dir)"
39-
40- - name : Cache composer dependencies
41- uses : actions/cache@v2
42- with :
43- path : ${{ steps.composer-cache.outputs.dir }}
44- key : dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
45- restore-keys : dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-
46-
4736 - name : Install Composer dependencies
4837 run : |
4938 composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
5039 composer update --with-all-dependencies --no-interaction
5140
52- - name : Run PHPUnit tests
53- run : composer test
54-
5541 - name : Check code style
5642 run : composer verify
43+
44+ - name : PHPStan static analysis
45+ run : composer phpstan
46+
47+ - name : Run PHPUnit tests
48+ run : composer test
Original file line number Diff line number Diff line change 1515 ],
1616 "authors" : [
1717 {
18- "name" : " PH7-Jack " ,
18+ "name" : " ph7jack " ,
1919 "email" : " pedro@wireui.dev"
2020 }
2121 ],
2222 "require" : {
2323 "php" : " ^8.1|^8.2|^8.3|^8.4" ,
24- "laravel/framework" : " ^9.52|^10.0|^11.0"
24+ "laravel/framework" : " ^9.52|^10.0|^11.0|^12.0 "
2525 },
2626 "require-dev" : {
27- "orchestra/testbench" : " ^8 .0" ,
27+ "orchestra/testbench" : " ^10 .0" ,
2828 "laravel/pint" : " ^1.6" ,
29- "phpunit/phpunit" : " ^10.5" ,
30- "pestphp/pest" : " ^2.0" ,
29+ "pestphp/pest" : " ^3.0" ,
3130 "mockery/mockery" : " ^1.5" ,
32- "phpstan/phpstan" : " ^1.10" ,
33- "larastan/larastan" : " ^2.9"
31+ "larastan/larastan" : " ^3.0"
3432 },
3533 "autoload" : {
3634 "psr-4" : {
6967 },
7068 "minimum-stability" : " dev" ,
7169 "prefer-stable" : true
72- }
70+ }
You can’t perform that action at this time.
0 commit comments