Skip to content

Commit 6c15152

Browse files
authored
ci: use real php for SCA (#509)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent 66ff091 commit 6c15152

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/php.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
# see https://github.com/shivammathur/setup-php
164164
uses: shivammathur/setup-php@v2
165165
with:
166-
php-version: ${{ env.PHP_VERSION_LATEST }}
166+
php-version: ${{ matrix.php }}
167167
extensions: ${{ env.PHP_PROJECT_EXT }}
168168
tools: composer:v2
169169
coverage: none
@@ -188,12 +188,10 @@ jobs:
188188
if: ${{ matrix.dependencies == 'lowest' }}
189189
run: |
190190
composer remove --dev 'roave/security-advisories'
191-
composer config platform.php ${{ matrix.php }}
192191
composer update --prefer-dist --no-interaction --no-progress --prefer-lowest
193192
- name: Install highest dependencies
194193
if: ${{ matrix.dependencies != 'lowest' }}
195194
run: |
196-
composer config platform.php ${{ matrix.php }}
197195
composer update --prefer-dist --no-interaction --no-progress
198196
- name: Run Psalm tests
199197
run: >

0 commit comments

Comments
 (0)