We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dc005f commit 44c80feCopy full SHA for 44c80fe
.github/actions/setup-php/action.yml
@@ -11,11 +11,17 @@ inputs:
11
runs:
12
using: "composite"
13
steps:
14
+ - name: Get infection/infection version
15
+ id: infection_version
16
+ shell: bash
17
+ run: |
18
+ version=$(jq -r '.packages[] | select(.name == "infection/infection") | .version' ./build-infection/composer.lock)
19
+ echo "version=$version" >> "$GITHUB_OUTPUT"
20
- name: "Install PHP"
21
uses: "shivammathur/setup-php@v2"
22
with:
23
coverage: "pcov"
24
php-version: "${{ inputs.php-version }}"
25
ini-file: development
26
extensions: ${{ inputs.php-extensions }}
- tools: infection:0.31.8
27
+ tools: infection:${{ steps.infection_version.outputs.version }}
0 commit comments