From e4a8bf06271c8fe332d45231adaac8832d9578cc Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Thu, 21 Jan 2021 12:30:41 +0100 Subject: [PATCH] Use symfony check:security to check composer packages --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bae28d2c..3c2fcb29 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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