From 890ffbe44817e07fbf438f9f677443090b0a1a88 Mon Sep 17 00:00:00 2001 From: Oleg Zhulnev Date: Thu, 18 Aug 2022 23:53:30 +0300 Subject: [PATCH] Add symfony/flex to allow-plugins (#160) --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 96e5ccb..c71eb82 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,7 +36,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} - tools: composer:v2 + tools: flex, composer:v2 - name: Get composer cache directory id: composer-cache @@ -53,8 +53,8 @@ jobs: composer-${{ runner.os }}- composer- - - name: Globally install symfony/flex - run: composer global require --no-progress --no-scripts --no-plugins symfony/flex + - name: Configure Symfony Flex + run: composer config extra.symfony.require ${{ matrix.symfony-require }} - name: Install dependencies run: composer update --optimize-autoloader --no-interaction --no-progress --prefer-dist