Skip to content

Commit 97260f4

Browse files
committed
Pin php-cs-fixer version
1 parent 8c472ea commit 97260f4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build-ci.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
jobs:
1010
php-cs-fixer:
1111
runs-on: ubuntu-latest
12+
env:
13+
PHP_CS_FIXER_VERSION: v2.18.7
1214
strategy:
1315
matrix:
1416
php:
@@ -21,9 +23,9 @@ jobs:
2123
with:
2224
php-version: ${{ matrix.php }}
2325
extensions: curl,mbstring
24-
tools: php-cs-fixer
26+
tools: php-cs-fixer:${{ env.PHP_CS_FIXER_VERSION }}
2527
coverage: none
26-
- name: Run PHP-CS-Fixer Fix
28+
- name: Run PHP-CS-Fixer Fix, version ${{ env.PHP_CS_FIXER_VERSION }}
2729
run: php-cs-fixer fix --dry-run --diff --ansi
2830

2931
build:

0 commit comments

Comments
 (0)