Use symfony check:security to check composer packages

This commit is contained in:
Igor Scheller 2021-01-21 12:30:41 +01:00
parent 02ba802d6b
commit e4a8bf0627
1 changed files with 3 additions and 4 deletions

View File

@ -110,11 +110,10 @@ audit-composer:
stage: test
needs: [ build-image ]
before_script:
- curl -sSo /usr/local/bin/security-checker https://get.sensiolabs.org/security-checker.phar
- chmod +x /usr/local/bin/security-checker
- cd "${DOCROOT}"
- wget -qO - https://github.com/symfony/cli/releases/latest/download/symfony_linux_amd64.gz | gzip -d > /bin/symfony
- chmod +x /bin/symfony
script:
- security-checker --no-ansi security:check
- symfony check:security --no-ansi --dir "${DOCROOT}"
audit-yarn:
image: node:alpine