Skip to content

Commit 3e0a25b

Browse files
authored
Merge pull request #192 from GromNaN/php-tools
Use `shivammathur/setup-php` tools
2 parents 4d51e4d + 2e05c26 commit 3e0a25b

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
with:
1818
php-version: '8.4'
1919
coverage: none
20+
tools: php-cs-fixer
2021
- name: php-cs-fixer
2122
run: |
22-
wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v3.85.1/php-cs-fixer.phar -q
23-
php php-cs-fixer.phar fix --dry-run --diff
23+
php-cs-fixer fix --dry-run --diff
2424
2525
phpunit:
2626
name: PHPUnit (PHP ${{ matrix.php-version }} - Symfony ${{ matrix.symfony-version }})
@@ -57,12 +57,7 @@ jobs:
5757
with:
5858
coverage: none
5959
php-version: ${{ matrix.php-version }}
60-
extensions: mongodb-1.21.0
61-
62-
- name: Install Symfony Flex
63-
run: |
64-
composer config --global --no-plugins allow-plugins.symfony/flex true
65-
composer global require --no-progress --no-scripts --no-plugins symfony/flex
60+
tools: flex
6661

6762
- name: Install Composer dependencies
6863
uses: ramsey/composer-install@v2

0 commit comments

Comments
 (0)