File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Verify
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ phpcs :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - uses : actions/checkout@v2
11+ - uses : shivammathur/setup-php@v1
12+ with :
13+ php-version : 7.3
14+ coverage : none
15+ tools : cs2pr
16+
17+ - name : Install dependencies
18+ run : composer install
19+
20+ - name : Run PHP Codesniffer
21+ run : vendor/bin/phpcs --report=checkstyle -q | cs2pr
22+
23+ phpstan :
24+ runs-on : ubuntu-latest
25+
26+ steps :
27+ - uses : actions/checkout@v2
28+ - uses : shivammathur/setup-php@v1
29+ with :
30+ php-version : 7.3
31+ coverage : none
32+ tools : cs2pr
33+
34+ - name : Install dependencies
35+ run : composer install
36+
37+ - name : Run PHPStan
38+ run : vendor/bin/phpstan analyse --error-format=checkstyle | cs2pr
You can’t perform that action at this time.
0 commit comments