Skip to content

Commit d8b96f9

Browse files
committed
Pin build-cs
1 parent 6cc1cb7 commit d8b96f9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
with:
6666
repository: "phpstan/build-cs"
6767
path: "build-cs"
68+
ref: "1.x"
6869

6970
- name: "Install PHP"
7071
uses: "shivammathur/setup-php@v2"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ lint:
1414
.PHONY: cs-install
1515
cs-install:
1616
git clone https://github.com/phpstan/build-cs.git || true
17-
git -C build-cs fetch origin && git -C build-cs reset --hard origin/main
17+
git -C build-cs fetch origin && git -C build-cs reset --hard origin/1.x
1818
composer install --working-dir build-cs
1919

2020
.PHONY: cs

0 commit comments

Comments
 (0)