mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 13:42:14 +00:00
Activate temp code format checks.
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
4
.github/workflows/ci_ubuntu-16.04.yml
vendored
4
.github/workflows/ci_ubuntu-16.04.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user