Skip to content

Commit 4be9615

Browse files
committed
fix: update workflows to support PHP <= 7.1
1 parent 02fd6de commit 4be9615

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/testing.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,11 @@ jobs:
159159
if: ${{ contains(fromJSON('["5.4.0", "5.3.0", "5.2.0", "5.1.0"]'), matrix.laravel) }}
160160
run: composer require --dev --no-update phpunit/phpunit:~5.7
161161

162-
- name: Install dependencies with specific Laravel version
163-
run: composer update --with illuminate/support:~${{ matrix.laravel }} --no-progress --no-interaction
162+
- name: Add illuminate/support to restrict Laravel testing version
163+
run: composer require --no-update illuminate/support:~${{ matrix.laravel }}
164+
165+
- name: Install dependencies
166+
run: composer update --no-progress --no-interaction
164167

165168
- name: Run tests
166169
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)