File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,13 +56,11 @@ jobs:
5656 uses : actions/cache@v2
5757 with :
5858 path : ${{ env.COMPOSER_CACHE_DIR }}
59- key : php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
60- restore-keys : |
61- php${{ matrix.php }}-composer-
59+ key : php${{ matrix.php }}-os${{ matrix.os }}-yaml${{ matrix.yaml }}-composer-${{ hashFiles('**/composer.json') }}
6260
6361
6462 - name : Validate composer.json and composer.lock
65- run : composer validate
63+ run : composer validate --ansi
6664
6765 - name : Install dependencies
6866 if : steps.composer-cache.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ fix-style:
1717 vendor/bin/php-cs-fixer fix src/ --diff
1818
1919install :
20- composer install --prefer-dist --no-interaction --no-progress --no-suggest
20+ composer install --prefer-dist --no-interaction --no-progress --no-suggest --ansi
2121 yarn install
2222
2323test :
24- php $(PHPARGS ) $(XPHPARGS ) vendor/bin/phpunit --verbose $(TESTCASE )
24+ php $(PHPARGS ) $(XPHPARGS ) vendor/bin/phpunit --verbose --color $(TESTCASE )
2525 php $(PHPARGS ) $(XPHPARGS ) bin/php-openapi validate tests/spec/data/recursion.json
2626 php $(PHPARGS ) $(XPHPARGS ) bin/php-openapi validate tests/spec/data/recursion2.yaml
2727
You can’t perform that action at this time.
0 commit comments