From 7a40c6337dee7e4d4a577a2dc31652c1ed913976 Mon Sep 17 00:00:00 2001 From: Juan Ardissone Date: Fri, 30 Jun 2023 09:46:30 -0400 Subject: [PATCH] test --- .github/workflows/symfony.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/symfony.yml b/.github/workflows/symfony.yml index b6212fe..6f86ec2 100644 --- a/.github/workflows/symfony.yml +++ b/.github/workflows/symfony.yml @@ -26,6 +26,7 @@ jobs: symfony: [ '6.0.*', '6.1.*', '6.2.*', '6.3.*' ] steps: + # To automatically get bug fixes and new Php versions for shivammathur/setup-php, # change this to (see https://github.com/shivammathur/setup-php#bookmark-versioning): # name: Setup PHP ${{ matrix.php }}uses: shivammathur/setup-php@v2 @@ -54,6 +55,17 @@ jobs: with: composer-options: "--no-progress --prefer-dist --optimize-autoloader" + - name: Test symfony security + if: runner.os == 'Linux' + uses: symfonycorp/security-checker-action@v4 + with: + disable-exit-code: 1 + id: security-check + + - name: Display the vulnerabilities as JSON + if: runner.os == 'Linux' + run: echo ${{ steps.security-check.outputs.vulns }} + - name: Run test suite env: SYMFONY_DEPRECATIONS_HELPER: disabled