File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 3333 with :
3434 coverage : " pcov"
3535 php-version : " ${{ matrix.php-version }}"
36+ tools : composer:v2
3637
3738 - name : " Cache dependencies installed with composer"
3839 uses : " actions/cache@v1"
4142 key : " php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.lock') }}"
4243 restore-keys : " php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-"
4344
44- - name : " Install composer v1"
45- run : " composer selfupdate --1"
46-
4745 - name : " Install dependencies with composer"
4846 run : " composer install --no-interaction"
4947
@@ -52,10 +50,10 @@ jobs:
5250
5351 - name : " Run static code analysis with phpstan/phpstan"
5452 run : " composer phpstan"
55-
53+
5654 - name : " Run coding standard checks with squizlabs/php_codesniffer"
5755 run : " composer cs-check"
58-
56+
5957 - name : " Archive code coverage results"
6058 uses : " actions/upload-artifact@v1"
6159 with :
You can’t perform that action at this time.
0 commit comments