From dc01125a277bc73634d79e8bada124ff94e3a849 Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Sun, 5 May 2024 13:03:03 +0200 Subject: [PATCH] simplify flex setup --- .github/workflows/test-application.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-application.yaml b/.github/workflows/test-application.yaml index eaa96de..099cb40 100644 --- a/.github/workflows/test-application.yaml +++ b/.github/workflows/test-application.yaml @@ -33,23 +33,17 @@ jobs: steps: - name: "Checkout project" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" - name: "Install and configure PHP" uses: "shivammathur/setup-php@v2" with: php-version: "${{ matrix.php-version }}" extensions: "pdo, pdo_sqlite" - tools: "composer:v2" - - - name: "Flex" - if: "${{ matrix.symfony-version }}" - run: | - composer global require --no-progress --no-scripts --no-plugins symfony/flex - composer global config --no-plugins allow-plugins.symfony/flex true + tools: "composer:v2, flex" - name: "Install dependencies with Composer" - uses: "ramsey/composer-install@v2" + uses: "ramsey/composer-install@v3" with: dependency-versions: "${{ matrix.dependencies }}" composer-options: "--prefer-dist"