From 8af19c880f036f428b62317e23b09e6e07a8bbf7 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Sun, 31 Jul 2022 18:01:45 +0100 Subject: [PATCH] fix build by allowing the yii2-composer plugin --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 11a87a0..22385b6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,9 @@ jobs: key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: ${{ runner.os }}-composer- - name: Install dependencies - run: composer update $DEFAULT_COMPOSER_FLAGS + run: | + composer config --no-plugins allow-plugins.yiisoft/yii2-composer true + composer update $DEFAULT_COMPOSER_FLAGS - name: Run unit tests with coverage run: vendor/bin/phpunit --verbose --coverage-clover=coverage.clover --colors=always if: matrix.php == '7.4'