File tree Expand file tree Collapse file tree 2 files changed +19
-13
lines changed
Expand file tree Collapse file tree 2 files changed +19
-13
lines changed Original file line number Diff line number Diff line change 1414 strategy :
1515 fail-fast : true
1616 matrix :
17- php : [8.1 , 8.2 ]
17+ php : [8.2 , 8.3 ]
1818 stability : [prefer-stable]
1919
2020 name : PHP ${{ matrix.php }} - ${{ matrix.stability }}
Original file line number Diff line number Diff line change 2222
2323jobs :
2424 static-analysis-phpstan :
25+
2526 name : " Static Analysis with PHPStan"
2627 runs-on : ubuntu-latest
2728
2829 strategy :
30+ fail-fast : true
2931 matrix :
30- php-version :
31- - " 8.1 "
32+ php : [8.2, 8.3]
33+ stability : [prefer-stable]
3234
3335 steps :
34- - name : " Checkout code"
35- uses : " actions/checkout@v2"
36+ - name : Checkout code
37+ uses : actions/checkout@v2
3638
37- - name : " Install PHP"
38- uses : " shivammathur/setup-php@v2"
39+ - name : Setup PHP
40+ uses : shivammathur/setup-php@v2
3941 with :
40- coverage : " none "
41- php-version : " ${{ matrix.php-version }} "
42- tools : " cs2pr "
42+ php-version : ${{ matrix.php }}
43+ tools : composer:v2
44+ coverage : none
4345
44- - name : " Install dependencies with Composer"
45- uses : " ramsey/composer-install@v1"
46+ - name : Install dependencies
47+ uses : nick-invision/retry@v1
48+ with :
49+ timeout_minutes : 5
50+ max_attempts : 5
51+ command : COMPOSER_ROOT_VERSION=dev-master composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
4652
4753 - name : " Run a static analysis with phpstan/phpstan"
48- run : " vendor/bin/phpstan --error-format=checkstyle | cs2pr "
54+ run : " vendor/bin/phpstan --error-format=table "
You can’t perform that action at this time.
0 commit comments