Skip to content

Commit dd0fda3

Browse files
committed
Pin build-cs
1 parent d04b69a commit dd0fda3

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
@@ -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)