File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,25 @@ jobs:
1212 name : PHP ${{ matrix.php }}
1313 steps :
1414 - uses : actions/checkout@v2
15+
1516 - name : Setup PHP
1617 uses :
shivammathur/[email protected] 1718 with :
1819 php-version : ${{ matrix.php }}
20+
1921 - name : Cache Composer packages
2022 id : composer-cache
2123 uses : actions/cache@v2
2224 with :
2325 path : " ~/.composer/cache"
2426 key : " php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}"
2527 restore-keys : " php-${{ matrix.php }}-composer-"
28+
2629 - name : Install dependencies
2730 run : composer install --prefer-dist --no-interaction
31+
2832 - name : Run PHPStan
2933 run : ./vendor/bin/phpstan analyze --no-progress
34+
3035 - name : Run PHPUnit tests
3136 run : ./vendor/bin/phpunit --bootstrap vendor/autoload.php --fail-on-warning tests/phpunit
You can’t perform that action at this time.
0 commit comments