Skip to content

Commit 767ba5d

Browse files
committed
[ci] split "Regenerate files" and "check for differences" into two steps
If one of these steps fails, it's useful to know which one
1 parent 95a466e commit 767ba5d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,11 @@ jobs:
162162
working-directory: "generator"
163163
- name: "Install dependencies with composer in root directory"
164164
run: "composer install --no-interaction"
165-
- name: "Regenerate files and check for differences"
166-
run: "./safe.php generate && git diff --exit-code"
165+
- name: "Regenerate files"
166+
run: "./safe.php generate"
167+
working-directory: "generator"
168+
- name: "Check for differences"
169+
run: "git diff --exit-code"
167170
working-directory: "generator"
168171

169172
rector:

0 commit comments

Comments
 (0)