Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit b181b44

Browse files
committed
Remove specific PHP8 targets from actions
1 parent ff86816 commit b181b44

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,8 @@ jobs:
4141
restore-keys: "php-${{ matrix.php-version }}-composer-"
4242

4343
- name: "Install dependencies"
44-
if: matrix.php-version != '8.0'
4544
run: "composer update --prefer-dist --no-interaction --no-progress --no-suggest"
4645

47-
- name: "Install dependencies PHP 8"
48-
if: matrix.php-version == '8.0'
49-
run: "composer update --prefer-dist --no-interaction --no-progress --no-suggest"
5046

5147
- name: "Lint"
5248
run: "vendor/bin/phing check-phplint"
@@ -113,11 +109,6 @@ jobs:
113109
restore-keys: "php-${{ matrix.php-version }}-composer-"
114110

115111
- name: "Install dependencies"
116-
if: matrix.php-version != '8.0'
117-
run: "composer update --prefer-dist --no-interaction --no-progress --no-suggest"
118-
119-
- name: "Install dependencies PHP 8"
120-
if: matrix.php-version == '8.0'
121112
run: "composer update --prefer-dist --no-interaction --no-progress --no-suggest"
122113

123114
- name: "PHPStan"
@@ -158,23 +149,11 @@ jobs:
158149
restore-keys: "php-${{ matrix.php-version }}-composer-"
159150

160151
- name: "Install lowest dependencies"
161-
if: ${{ matrix.php-version != '8.0' && matrix.dependencies == 'lowest' }}
152+
if: ${{ matrix.dependencies == 'lowest' }}
162153
run: "composer update --prefer-lowest --prefer-dist --no-interaction --no-progress --no-suggest"
163154

164155
- name: "Install highest dependencies"
165-
if: ${{ matrix.php-version != '8.0' && matrix.dependencies == 'highest' }}
166-
run: "composer update --prefer-dist --no-interaction --no-progress --no-suggest"
167-
168-
- name: "Install lowest dependencies PHP 8"
169-
if: ${{ matrix.php-version == '8.0' && matrix.dependencies == 'lowest' }}
170-
run: "composer update --prefer-lowest --prefer-dist --no-interaction --no-progress --no-suggest"
171-
172-
- name: "Require higher phpunit on PHP 8"
173-
if: ${{ matrix.php-version == '8.0' && matrix.dependencies == 'lowest' }}
174-
run: "composer require phpunit/phpunit:^9.3.7 --update-with-dependencies --prefer-dist --no-interaction --no-progress --no-suggest"
175-
176-
- name: "Install highest dependencies PHP 8"
177-
if: ${{ matrix.php-version == '8.0' && matrix.dependencies == 'highest' }}
156+
if: ${{ matrix.dependencies == 'highest' }}
178157
run: "composer update --prefer-dist --no-interaction --no-progress --no-suggest"
179158

180159
- name: "Tests"

0 commit comments

Comments
 (0)