Skip to content

Commit c0ae314

Browse files
authored
chore: clean up workflows (#2190)
1 parent 0d1a256 commit c0ae314

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ jobs:
1818
composer-flags: "--prefer-lowest "
1919
- php: "8.0"
2020
composer-flags: "--prefer-lowest "
21-
- php: "8.1"
22-
composer-flags: "--prefer-lowest "
2321
name: PHP ${{ matrix.php }} ${{ matrix.composer-flags }}Unit Test
2422
steps:
2523
- uses: actions/checkout@v2
@@ -33,15 +31,9 @@ jobs:
3331
timeout_minutes: 10
3432
max_attempts: 3
3533
command: composer update ${{ matrix.composer-flags }}
36-
- if: ${{ matrix.php == '8.0' || ( matrix.composer-flags == '--prefer-lowest' && matrix.php != '8.1' ) }}
34+
- if: ${{ matrix.php == '8.0' && matrix.composer-flags == '--prefer-lowest ' }}
3735
name: Update guzzlehttp/ringphp dependency
3836
run: composer update guzzlehttp/ringphp
39-
- if: ${{ matrix.php == '8.1' }}
40-
name: Update guzzlehttp/ringphp dependency
41-
run: composer update guzzlehttp/ringphp --ignore-platform-reqs
42-
- if: ${{ matrix.php == '8.1' }}
43-
name: Update phpunit/phpunit dependency
44-
run: composer update phpunit/phpunit phpspec/prophecy-phpunit --with-dependencies --ignore-platform-reqs
4537
- name: Run Script
4638
run: vendor/bin/phpunit
4739

0 commit comments

Comments
 (0)