Skip to content

Commit

Permalink
Merge pull request #17 from sourceability/ci-sf-version
Browse files Browse the repository at this point in the history
ci: fix SYMFONY_REQUIRE
  • Loading branch information
adrienbrault authored Jan 3, 2023
2 parents caa8b69 + 28033ba commit a487954
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
- '4.4'
- '5.4'
- '6.0'
- '6.1'
include:
- php_version: '8.1'
symfony_version: '6.1'

name: 'PHP ${{ matrix.php_version }} - Symfony ${{ matrix.symfony_version }}'

Expand All @@ -45,6 +47,11 @@ jobs:
restore-keys: |
${{ runner.os }}-composer-
- name: "Install symfony/flex for SYMFONY_REQUIRE"
run: |
composer global config --no-plugins allow-plugins.symfony/flex true
composer global require --no-progress --no-scripts --no-plugins symfony/flex
- name: 'Install dependencies'
run: SYMFONY_REQUIRE='${{ matrix.symfony_version }}.*' composer update ${{ matrix.composer-flags }} --prefer-dist

Expand Down

0 comments on commit a487954

Please sign in to comment.