Skip to content

Commit 7a6fb2f

Browse files
committed
fix: update Pest setup in workflow to use composer require for PHP 8.1
1 parent 76f823e commit 7a6fb2f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Setup Pest for PHP 8.1
4343
if: ${{ matrix.php == '8.1' }}
4444
run: |
45-
composer update pestphp/pest pestphp/pest-plugin-faker phpunit/phpunit -o --with-all-dependencies
45+
composer require pestphp/pest pestphp/pest-plugin-faker phpunit/phpunit --dev
4646
- name: Setup Packages
4747
run: composer update -o --with-all-dependencies
4848
- name: Check Composer Json
@@ -85,7 +85,7 @@ jobs:
8585
- name: Setup Pest for PHP 8.1
8686
if: ${{ matrix.php == '8.1' }}
8787
run: |
88-
composer update pestphp/pest pestphp/pest-plugin-faker phpunit/phpunit -o --with-all-dependencies
88+
composer require pestphp/pest pestphp/pest-plugin-faker phpunit/phpunit --dev
8989
- name: Setup Dependencies
9090
run: composer update -o --with-all-dependencies
9191
- name: Run Analyse

0 commit comments

Comments
 (0)