From 4be961537b02b8f70de9069020a14f11515df2e5 Mon Sep 17 00:00:00 2001 From: bepsvpt <8221099+bepsvpt@users.noreply.github.com> Date: Sun, 17 Mar 2024 09:42:39 +0800 Subject: [PATCH] fix: update workflows to support PHP <= 7.1 --- .github/workflows/testing.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index e5b9767..4196266 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -159,8 +159,11 @@ jobs: if: ${{ contains(fromJSON('["5.4.0", "5.3.0", "5.2.0", "5.1.0"]'), matrix.laravel) }} run: composer require --dev --no-update phpunit/phpunit:~5.7 - - name: Install dependencies with specific Laravel version - run: composer update --with illuminate/support:~${{ matrix.laravel }} --no-progress --no-interaction + - name: Add illuminate/support to restrict Laravel testing version + run: composer require --no-update illuminate/support:~${{ matrix.laravel }} + + - name: Install dependencies + run: composer update --no-progress --no-interaction - name: Run tests run: vendor/bin/phpunit