mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-25 10:45:41 +00:00
ci: Add style-check job
The whole code was reformatted using uncrustify script, but MRs are not checked using the script. Let's add style-check job to prevent wrongly formated MRs to be merged.
This commit is contained in:
parent
fd2e7dfdea
commit
f13903f575
|
@ -75,3 +75,11 @@ triage:dry-run:
|
|||
only:
|
||||
- schedules
|
||||
when: manual
|
||||
|
||||
style check:
|
||||
image: registry.gitlab.gnome.org/gnome/nautilus:latest
|
||||
stage: test
|
||||
script:
|
||||
- gcc data/lineup-parameters.c `pkg-config --cflags --libs gio-2.0 gio-unix-2.0` -o data/lineup-parameters
|
||||
- LANG=C.utf8 data/run-uncrustify.sh
|
||||
- git diff --exit-code
|
||||
|
|
Loading…
Reference in a new issue