Skip to content

Commit

Permalink
[ci] split "Regenerate files" and "check for differences" into two steps
Browse files Browse the repository at this point in the history
If one of these steps fails, it's useful to know which one
  • Loading branch information
shish authored Jan 28, 2025
1 parent 95a466e commit d302bae
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d302bae

Please sign in to comment.