Skip to content

Commit

Permalink
Merge pull request #285 from symfony-cmf/ci
Browse files Browse the repository at this point in the history
simplify flex setup
  • Loading branch information
dbu authored May 5, 2024
2 parents 0d0bdab + dc01125 commit 3a3c645
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/test-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3a3c645

Please sign in to comment.