Skip to content

Commit 30175c8

Browse files
committed
Pin Symfony versions using Flex
1 parent bfbce72 commit 30175c8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,17 @@ jobs:
3131
coverage: ${{ matrix.coverage }}
3232
ini-values: "memory_limit=-1"
3333
php-version: ${{ matrix.php-version }}
34-
tools: composer
34+
tools: composer,flex
3535

3636
- name: Validate composer.json
3737
run: composer validate --no-check-lock
3838

39-
- name: Configure Symfony version
40-
run: composer require --no-update symfony/framework-bundle "^${{ matrix.symfony-version }}"
41-
4239
- name: Install Composer dependencies
4340
uses: ramsey/composer-install@v1
4441
with:
4542
composer-options: "--prefer-dist"
43+
env:
44+
SYMFONY_REQUIRE: "${{ matrix.symfony-version }}.*"
4645

4746
- name: Setup problem matchers for PHP
4847
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"

0 commit comments

Comments
 (0)