Skip to content

Commit 0454892

Browse files
committed
Pin build-cs
1 parent 5ceb0e3 commit 0454892

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
@@ -60,6 +60,7 @@ jobs:
6060
with:
6161
repository: "phpstan/build-cs"
6262
path: "build-cs"
63+
ref: "1.x"
6364

6465
- name: "Install PHP"
6566
uses: "shivammathur/setup-php@v2"

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ lint:
1616
.PHONY: cs-install
1717
cs-install:
1818
git clone https://github.com/phpstan/build-cs.git || true
19-
git -C build-cs fetch origin && git -C build-cs reset --hard origin/main
19+
git -C build-cs fetch origin && git -C build-cs reset --hard origin/1.x
2020
composer install --working-dir build-cs
2121

2222
.PHONY: cs

0 commit comments

Comments
 (0)