From ae50dd444768ac02cb22176bea5f3db3b28cdeb5 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Tue, 16 Jul 2024 19:07:04 +0200 Subject: [PATCH] Add symfony flex to force Symfony version --- .github/workflows/test-application.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-application.yaml b/.github/workflows/test-application.yaml index dfe45226..c137571a 100644 --- a/.github/workflows/test-application.yaml +++ b/.github/workflows/test-application.yaml @@ -131,9 +131,12 @@ jobs: - name: Install dependencies run: | composer validate - composer require --no-update symfony/symfony:${{ matrix.symfony-version }} + composer require --no-update symfony/flex:"^1.0 || ^2.0" + composer config --no-plugins allow-plugins.symfony/flex true composer require --no-update elasticsearch/elasticsearch:${{ matrix.elasticsearch-package-constraint }} composer install --no-interaction --prefer-dist + env: + SYMFONY_VERSION: ${{ matrix.symfony-version }} - name: Fix code style if: ${{ matrix.lint }}