Skip to content

Commit 1ee1ecf

Browse files
authored
refactor(ci): Simplify the Composer installation in the CI (#791)
1 parent c5be279 commit 1ee1ecf

File tree

4 files changed

+0
-10
lines changed

4 files changed

+0
-10
lines changed

.github/workflows/build.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ jobs:
3737
3838
- name: Install Composer dependencies
3939
uses: ramsey/composer-install@v2
40-
with:
41-
composer-options: '--prefer-dist'
4240

4341
- name: Configure the PHP platform
4442
run: composer config platform.php $(php -r 'echo phpversion();') && composer update --lock

.github/workflows/e2e-tests.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ jobs:
3838
3939
- name: Install Composer dependencies
4040
uses: ramsey/composer-install@v2
41-
with:
42-
composer-options: '--prefer-dist'
4341

4442
- name: Build PHAR
4543
run: make build
@@ -108,8 +106,6 @@ jobs:
108106
109107
- name: Install Composer dependencies
110108
uses: ramsey/composer-install@v2
111-
with:
112-
composer-options: '--prefer-dist'
113109

114110
- name: Retrieve built PHAR
115111
uses: actions/download-artifact@v3

.github/workflows/lint.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,11 @@ jobs:
3939
- name: Install Composer dependencies
4040
uses: ramsey/composer-install@v2
4141
with:
42-
composer-options: '--prefer-dist'
4342

4443
- name: Install Composer PHPStan dependencies
4544
uses: ramsey/composer-install@v2
4645
with:
4746
working-directory: 'vendor-bin/phpstan'
48-
composer-options: '--prefer-dist'
4947

5048
- name: Run ${{ matrix.check.name }}
5149
run: ${{ matrix.check.command }}

.github/workflows/tests.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ jobs:
8989
9090
- name: Install Composer dependencies
9191
uses: ramsey/composer-install@v2
92-
with:
93-
composer-options: '--prefer-dist'
9492

9593
- name: Run tests
9694
run: make phpunit

0 commit comments

Comments
 (0)