Skip to content

Commit e7bd2bf

Browse files
committedSep 6, 2024··
Pin build-cs
1 parent 6cd2c9b commit e7bd2bf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎.github/workflows/build.yml

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
with:
5959
repository: "phpstan/build-cs"
6060
path: "build-cs"
61+
ref: "1.x"
6162

6263
- name: "Install PHP"
6364
uses: "shivammathur/setup-php@v2"

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ lint:
99
.PHONY: cs-install
1010
cs-install:
1111
git clone https://github.com/phpstan/build-cs.git || true
12-
git -C build-cs fetch origin && git -C build-cs reset --hard origin/main
12+
git -C build-cs fetch origin && git -C build-cs reset --hard origin/1.x
1313
composer install --working-dir build-cs
1414

1515
.PHONY: cs

0 commit comments

Comments
 (0)
Please sign in to comment.