|
41 | 41 | restore-keys: "php-${{ matrix.php-version }}-composer-" |
42 | 42 |
|
43 | 43 | - name: "Install dependencies" |
44 | | - if: matrix.php-version != '8.0' |
45 | 44 | run: "composer update --prefer-dist --no-interaction --no-progress --no-suggest" |
46 | 45 |
|
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" |
50 | 46 |
|
51 | 47 | - name: "Lint" |
52 | 48 | run: "vendor/bin/phing check-phplint" |
@@ -113,11 +109,6 @@ jobs: |
113 | 109 | restore-keys: "php-${{ matrix.php-version }}-composer-" |
114 | 110 |
|
115 | 111 | - 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' |
121 | 112 | run: "composer update --prefer-dist --no-interaction --no-progress --no-suggest" |
122 | 113 |
|
123 | 114 | - name: "PHPStan" |
@@ -158,23 +149,11 @@ jobs: |
158 | 149 | restore-keys: "php-${{ matrix.php-version }}-composer-" |
159 | 150 |
|
160 | 151 | - name: "Install lowest dependencies" |
161 | | - if: ${{ matrix.php-version != '8.0' && matrix.dependencies == 'lowest' }} |
| 152 | + if: ${{ matrix.dependencies == 'lowest' }} |
162 | 153 | run: "composer update --prefer-lowest --prefer-dist --no-interaction --no-progress --no-suggest" |
163 | 154 |
|
164 | 155 | - 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' }} |
178 | 157 | run: "composer update --prefer-dist --no-interaction --no-progress --no-suggest" |
179 | 158 |
|
180 | 159 | - name: "Tests" |
|
0 commit comments