File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,18 +17,17 @@ jobs:
1717 php : ["8.2", "8.3", "8.4"]
1818 runs-on : ubuntu-24.04
1919 steps :
20+ - uses : shivammathur/setup-php@v2
21+ with :
22+ php-version : ${{ matrix.php }}
23+ coverage : pcov
2024 - uses : actions/checkout@v4
2125 - uses : actions/cache@v4
2226 with :
2327 path : vendor
2428 key : vendor-${{ hashFiles('composer.json') }}
25- - uses : shivammathur/setup-php@v2
26- with :
27- php-version : ${{ matrix.php }}
28- coverage : pcov
29- - uses : php-actions/composer@v6
30- - name : Run test suite
31- run : composer test
29+ - run : composer install
30+ - run : composer test
3231
3332 static :
3433 name : Static Analysis
3938 with :
4039 path : vendor
4140 key : vendor-${{ hashFiles('composer.json') }}
42- - uses : php-actions/ composer@v6
41+ - run : composer install
4342 - run : composer analyse-ci
4443
4544 format :
5150 with :
5251 path : vendor
5352 key : vendor-${{ hashFiles('composer.json') }}
54- - uses : php-actions/ composer@v6
53+ - run : composer install
5554 - run : composer format && git diff --exit-code
Original file line number Diff line number Diff line change 3838 "stan" : [
3939 " @analyse"
4040 ],
41- "format" : " PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix" ,
41+ "format" : " php-cs-fixer fix" ,
4242 "analyse-ci" : " phpstan analyse --error-format=github" ,
4343 "analyse" : " phpstan analyse --error-format=raw | sed -E 's/:([0-9]+):/:\\ 1 /'" ,
44- "test" : " XDEBUG_MODE =coverage phpunit"
44+ "test" : " php -d xdebug.mode =coverage vendor/bin/ phpunit"
4545 }
4646}
You can’t perform that action at this time.
0 commit comments