Skip to content

Commit 747ec2d

Browse files
committed
checkout build-infection
1 parent 6e9daf1 commit 747ec2d

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,16 @@ jobs:
178178
- name: "Install dependencies"
179179
run: "composer install --no-interaction --no-progress"
180180

181-
- name: "Install build-infection"
182-
run: "composer require phpstan/build-infection --no-interaction --no-progress"
181+
- name: "Checkout build-infection"
182+
uses: actions/checkout@v5
183+
with:
184+
repository: "phpstan/build-infection"
185+
path: "build-infection"
186+
ref: "1.x"
187+
188+
- name: "Install build-infection dependencies"
189+
working-directory: "build-infection"
190+
run: "composer install --no-interaction --no-progress"
183191

184192
- uses: "actions/download-artifact@v4"
185193
with:

infection.json5

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"logs": {
1111
"text": "tmp/infection.log"
1212
},
13+
"bootstrap":"build-infection/vendor/autoload.php",
1314
"mutators": {
1415
"@default": false,
1516
"PHPStan\\Infection\\TrinaryLogicMutator": true

0 commit comments

Comments
 (0)