File tree Expand file tree Collapse file tree 3 files changed +15
-7
lines changed
Expand file tree Collapse file tree 3 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 2020 name : PHP ${{ matrix.php-versions }} Test
2121
2222 steps :
23- - uses : actions/checkout@v4
23+ - name : Checkout code
24+ uses : actions/checkout@v4
2425
2526 - name : Setup PHP
2627 uses : shivammathur/setup-php@v2
4344 ${{ runner.os }}-php-
4445
4546 - name : Install dependencies
46- run : composer install --no-interaction --prefer-dist --no-progress
47+ uses : nick-fields/retry@v3
48+ with :
49+ timeout_minutes : 5
50+ max_attempts : 5
51+ command : composer update --prefer-stable --prefer-dist --no-interaction --no-progress
52+
53+ - name : Execute type checking
54+ run : vendor/bin/phpstan --configuration="phpstan.neon.dist"
4755
4856 - name : Run test suite
4957 run : vendor/bin/phpunit --coverage-clover=coverage.xml --log-junit junit.xml
Original file line number Diff line number Diff line change 3838 }
3939 },
4040 "require-dev" : {
41+ "phpstan/phpstan" : " ^2.0" ,
4142 "phpunit/phpunit" : " ^10.0"
4243 },
43- "scripts" : {
44- "test" : [
45- " vendor/bin/phpunit"
46- ]
47- },
4844 "config" : {
4945 "optimize-autoloader" : true ,
5046 "platform" : {
Original file line number Diff line number Diff line change 1+ parameters:
2+ level: 1
3+ paths:
4+ - src
You can’t perform that action at this time.
0 commit comments