Activate temp code format checks.

This commit is contained in:
louib
2019-12-28 13:15:02 -05:00
parent 25116c2046
commit cd0d9e028b
2 changed files with 6 additions and 2 deletions

View File

@@ -20,5 +20,7 @@ jobs:
- name: compiling
run: make
# Changing the path should no longer be necessary when clang-format6 is installed.
# - name: verifying code style
- name: verifying code style
# TODO use check-format when all the code has been formatted.
# run: export PATH=$PATH:/usr/lib/llvm-5.0/bin && make check-format
run: export PATH=$PATH:/usr/lib/llvm-5.0/bin && clang-format -i -style=file src/nwipe.c src/nwipe.h src/options.c src/options.h && git diff-index --quiet HEAD

View File

@@ -20,5 +20,7 @@ jobs:
- name: compiling
run: make
# Changing the path should no longer be necessary when clang-format6 is installed.
# - name: verifying code style
- name: verifying code style
# TODO use check-format when all the code has been formatted.
# run: export PATH=$PATH:/usr/lib/llvm-5.0/bin && make check-format
run: export PATH=$PATH:/usr/lib/llvm-5.0/bin && clang-format -i -style=file src/nwipe.c src/nwipe.h src/options.c src/options.h && git diff-index --quiet HEAD