@@ -166,14 +166,17 @@ jobs:
166166 - name : " Checkout"
167167 uses : actions/checkout@v5
168168
169- - name : " Install PHP"
170- uses : " shivammathur/setup-php@v2"
169+ - name : " Checkout build-infection"
170+ uses : actions/checkout@v5
171+ with :
172+ repository : " phpstan/build-infection"
173+ path : " build-infection"
174+ ref : " 1.x"
175+
176+ - uses : ./build-infection/.github/actions/setup-php
171177 with :
172- coverage : " pcov"
173178 php-version : " ${{ matrix.php-version }}"
174- ini-file : development
175- extensions : pdo, mysqli, pgsql, pdo_mysql, pdo_pgsql, pdo_sqlite, mongodb
176- tools : infection:0.31.7
179+ php-extensions : pdo, mysqli, pgsql, pdo_mysql, pdo_pgsql, pdo_sqlite, mongodb
177180
178181 - name : " Allow installing on PHP 8.4"
179182 if : matrix.php-version == '8.4'
@@ -182,13 +185,6 @@ jobs:
182185 - name : " Install dependencies"
183186 run : " composer install --no-interaction --no-progress"
184187
185- - name : " Checkout build-infection"
186- uses : actions/checkout@v5
187- with :
188- repository : " phpstan/build-infection"
189- path : " build-infection"
190- ref : " 1.x"
191-
192188 - name : " Install build-infection dependencies"
193189 working-directory : " build-infection"
194190 run : " composer install --no-interaction --no-progress"
0 commit comments