ci: Output diff of uncrustify check
Not having the diff is a bit painfull when the local version of uncrustify differs from the one on the CI runner. So uncrustify in-place and output the diff.
This commit is contained in:
parent
e4f9935706
commit
8626c64831
1 changed files with 3 additions and 1 deletions
|
@ -103,7 +103,9 @@ test_indent:
|
||||||
variables:
|
variables:
|
||||||
- $CI_PIPELINE_SOURCE == "schedule"
|
- $CI_PIPELINE_SOURCE == "schedule"
|
||||||
script:
|
script:
|
||||||
- scripts/uncrustify.sh --check
|
- scripts/uncrustify.sh
|
||||||
|
- git diff
|
||||||
|
- "! git status -s | grep -q ."
|
||||||
|
|
||||||
.flatpak_script_template: &flatpak_script
|
.flatpak_script_template: &flatpak_script
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue