Skip to content

Commit baa4aba

Browse files
committed
Update build.yml
1 parent ab70959 commit baa4aba

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -182,26 +182,21 @@ jobs:
182182
- name: "Checkout"
183183
uses: actions/checkout@v5
184184

185-
- name: "Install PHP"
186-
uses: "shivammathur/setup-php@v2"
187-
with:
188-
coverage: "pcov"
189-
php-version: "${{ matrix.php-version }}"
190-
tools: pecl, infection:0.31.7
191-
extensions: mbstring
192-
ini-file: development
193-
ini-values: memory_limit=-1
194-
195-
- name: "Install dependencies"
196-
run: "composer install --no-interaction --no-progress"
197-
198185
- name: "Checkout build-infection"
199186
uses: actions/checkout@v5
200187
with:
201188
repository: "phpstan/build-infection"
202189
path: "build-infection"
203190
ref: "1.x"
204191

192+
- uses: ./build-infection/.github/actions/setup-php
193+
with:
194+
php-version: "${{ matrix.php-version }}"
195+
extensions: mbstring
196+
197+
- name: "Install dependencies"
198+
run: "composer install --no-interaction --no-progress"
199+
205200
- name: "Install build-infection dependencies"
206201
working-directory: "build-infection"
207202
run: "composer install --no-interaction --no-progress"

0 commit comments

Comments
 (0)