Skip to content

Commit 1c67d79

Browse files
committed
Fix build composer platform reqs #10
1 parent 308a7ac commit 1c67d79

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,12 @@ jobs:
3535
run: composer validate
3636

3737
- name: Install dependencies for PHP 7
38+
if: matrix.php-versions < '8.0'
3839
run: composer update --prefer-dist --no-progress
39-
with:
40-
php-version: [ '7.2', '7.3', '7.4' ]
4140

4241
- name: Install dependencies for PHP 8
42+
if: matrix.php-versions >= '8.0'
4343
run: composer update --prefer-dist --no-progress --ignore-platform-reqs
44-
with:
45-
php-version: [ '8.0' ]
4644

4745
- name: Run test suite
4846
run: composer check

0 commit comments

Comments
 (0)