Skip to content

Commit 7fbff6d

Browse files
authored
Use PHP Version from .tool-versions in CI by default (#392)
1 parent 2e6031d commit 7fbff6d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/part_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
id: setup-php
2525
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2
2626
with:
27-
php-version: "8.3"
27+
php-version-file: ".tool-versions"
2828
tools: phive
2929
- name: Cache Tools
3030
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0

.github/workflows/part_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
id: setup-php
131131
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2
132132
with:
133-
php-version: "8.3"
133+
php-version-file: ".tool-versions"
134134
- name: Get composer cache directory
135135
id: composer-cache
136136
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
@@ -171,7 +171,7 @@ jobs:
171171
id: setup-php
172172
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2
173173
with:
174-
php-version: "8.3"
174+
php-version-file: ".tool-versions"
175175
- name: Get composer cache directory
176176
id: composer-cache
177177
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)