remove Composer --no-suggest flag

This commit is contained in:
Pig Fang 2020-10-30 10:04:51 +08:00
parent 4731fc0940
commit 2163356f7e
No known key found for this signature in database
GPG Key ID: A8198F548DADA9E2
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ jobs:
extensions: mbstring, dom, fileinfo, gd
- name: Install dependencies
run: |
composer install --prefer-dist --no-progress --no-suggest
composer install --prefer-dist --no-progress
composer global require friendsofphp/php-cs-fixer
- name: Prepare
run: |
@ -73,7 +73,7 @@ jobs:
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install Composer dependencies
run: composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader
run: composer install --no-progress --prefer-dist --optimize-autoloader
- name: Run tests only
if: matrix.php != '7.4'
run: ./vendor/bin/phpunit

View File

@ -3,7 +3,7 @@ $last = $manifest.latest
$current = (Get-Content package.json | ConvertFrom-Json).version
# Install dependencies
composer install --no-dev --prefer-dist --no-suggest --no-progress
composer install --no-dev --prefer-dist --no-progress
Remove-Item vendor/bin -Recurse -Force
yarn
Write-Host "Dependencies have been installed." -ForegroundColor Green