File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 9191 coverage : none
9292 tools : none
9393
94+ - name : Cache PHP-CS-Fixer cache directory
95+ uses : actions/cache@v5
96+ with :
97+ path : .php-cs-fixer.cache
98+ key : ${{ runner.os }}-php-cs-fixer-${{ github.ref }}-
99+ restore-keys : |
100+ ${{ runner.os }}-php-cs-fixer-${{ github.ref }}-
101+
94102 - name : Run PHP-CS-Fixer
95- run : ./tools/php-cs-fixer check --show-progress=dots --using-cache=no --verbose
103+ run : ./tools/php-cs-fixer check --cache-file=.php-cs-fixer.cache --show-progress=dots --verbose
96104
97105 static-analysis :
98106 name : Static Analysis
@@ -335,6 +343,17 @@ jobs:
335343 - name : Install dependencies with Composer
336344 run : ./tools/composer install --no-ansi --no-interaction --no-progress
337345
346+ - name : Cache PHPUnit's static analysis cache
347+ uses : actions/cache@v5
348+ with :
349+ path : .phpunit.cache/code-coverage
350+ key : ${{ runner.os }}-phpunit-code-coverage-${{ github.ref }}-
351+ restore-keys : |
352+ ${{ runner.os }}-phpunit-code-coverage-${{ github.ref }}-
353+
354+ - name : Warm PHPUnit's static analysis cache
355+ run : ./phpunit --warm-coverage-cache
356+
338357 - name : Collect code coverage with PHPUnit
339358 run : ./phpunit --log-junit test-results.xml --coverage-openclover=code-coverage.xml
340359
You can’t perform that action at this time.
0 commit comments