File tree Expand file tree Collapse file tree 3 files changed +30
-20
lines changed
Expand file tree Collapse file tree 3 files changed +30
-20
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ if : " !contains(github.event.head_commit.message, '[ci skip]')"
9+ strategy :
10+ matrix :
11+ php : ['7.2', '7.3', '7.4']
12+ name : PHP ${{ matrix.php }}
13+ steps :
14+ - uses : actions/checkout@v2
15+ - name : Setup PHP
16+ uses : shivammathur/setup-php@2.9.0
17+ with :
18+ php-version : ${{ matrix.php }}
19+ - name : Cache Composer packages
20+ id : composer-cache
21+ uses : actions/cache@v2
22+ with :
23+ path : " ~/.composer/cache"
24+ key : " php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}"
25+ restore-keys : " php-${{ matrix.php }}-composer-"
26+ - name : Install dependencies
27+ run : composer install --prefer-dist --no-interaction
28+ - name : Run PHPStan
29+ run : ./vendor/bin/phpstan analyze --no-progress
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 88 "php-64bit" : " *"
99 },
1010 "require-dev" : {
11- "phpstan/phpstan" : " 0.12.40 " ,
11+ "phpstan/phpstan" : " 0.12.59 " ,
1212 "phpstan/extension-installer" : " ^1.0" ,
1313 "phpstan/phpstan-strict-rules" : " ^0.12.4"
1414 },
You can’t perform that action at this time.
0 commit comments