Skip to content

Commit 2bdf340

Browse files
committed
Pin build-cs
1 parent 8d32bba commit 2bdf340

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
@@ -62,6 +62,7 @@ jobs:
6262
with:
6363
repository: "phpstan/build-cs"
6464
path: "build-cs"
65+
ref: "1.x"
6566

6667
- name: "Install PHP"
6768
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)