From d302baec896d528130312c2d37cd6edbf19c2be0 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 28 Jan 2025 05:09:16 +0000 Subject: [PATCH] [ci] split "Regenerate files" and "check for differences" into two steps If one of these steps fails, it's useful to know which one --- .github/workflows/continuous-integration.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 9efb8914..94972530 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -162,8 +162,11 @@ jobs: working-directory: "generator" - name: "Install dependencies with composer in root directory" run: "composer install --no-interaction" - - name: "Regenerate files and check for differences" - run: "./safe.php generate && git diff --exit-code" + - name: "Regenerate files" + run: "./safe.php generate" + working-directory: "generator" + - name: "Check for differences" + run: "git diff --exit-code" working-directory: "generator" rector: