Skip to content

Commit

Permalink
Add symfony flex to force Symfony version
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Jul 16, 2024
1 parent 58918df commit ae50dd4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit ae50dd4

Please sign in to comment.