Skip to content

Commit b762aec

Browse files
exaby73transistive
authored andcommitted
ci: Use composer action
1 parent 828ac1b commit b762aec

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ jobs:
2828
with:
2929
php-version: ${{ matrix.php }}
3030

31-
- name: Install symfony/flex
32-
run: composer global require --no-progress --no-scripts --no-plugins symfony/flex
33-
34-
- name: Composer update on php ${{ matrix.php }} and symfony ${{ matrix.sf_version }}
35-
run: export SYMFONY_REQUIRE=${{ matrix.sf_version }} composer update --prefer-dist --no-progress
31+
- name: Install dependencies
32+
uses: php-actions/composer@v6
33+
with:
34+
command: export SYMFONY_REQUIRE=${{ matrix.sf_version }} composer update
3635

3736
- uses: php-actions/phpunit@v3
3837
with:

0 commit comments

Comments
 (0)