Skip to content

Commit 30d0886

Browse files
committed
Pin build-cs
1 parent 4279753 commit 30d0886

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
@@ -13,7 +13,7 @@ lint:
1313
.PHONY: cs-install
1414
cs-install:
1515
git clone https://github.com/phpstan/build-cs.git || true
16-
git -C build-cs fetch origin && git -C build-cs reset --hard origin/main
16+
git -C build-cs fetch origin && git -C build-cs reset --hard origin/1.x
1717
composer install --working-dir build-cs
1818

1919
.PHONY: cs

0 commit comments

Comments
 (0)