8000 Merge pull request #306 from clue-labs/lelegacy · reactphp/socket@bf11696 · GitHub
[go: up one dir, main page]

Skip to content

Commit bf11696

Browse files
authored
Merge pull request #306 from clue-labs/lelegacy
Work around broken composer install for legacy PHP on Windows
2 parents 7da8a6b + c98419a commit bf11696

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
php-version: ${{ matrix.php }}
3434
coverage: xdebug
3535
ini-file: development
36+
- run: composer config secure-http false && composer config repo.packagist composer http://packagist.org && composer config preferred-install source
37+
if: ${{ matrix.php < 5.5 && matrix.os == 'windows-2022' }} # legacy PHP on Windows is allowed to use insecure downloads until it will be removed again
3638
- run: composer install
3739
- run: vendor/bin/phpunit --coverage-text
3840
if: ${{ matrix.php >= 7.3 }}

0 commit comments

Comments
 (0)
0