From 60954be7d9138bbb1c5ab917d6c730e4ba8c907a Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 10 Dec 2024 17:48:41 +0800 Subject: [PATCH] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1f1db9e1b..b971693af 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ on: jobs: tests: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: fail-fast: false @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -28,6 +28,10 @@ jobs: php-version: ${{ matrix.php }} extensions: dom, curl, libxml, mbstring, zip coverage: pcov + + - name: Remove Security Advisories on obsolete PHP versions + run: composer remove "roave/security-advisories" --dev --no-update + if: matrix.php <= 7.4 - name: Install dependencies run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress