diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28a1d1b..788eff3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/ci_ubuntu-16.04.yml b/.github/workflows/ci_ubuntu-16.04.yml index a8870a6..2021f9e 100644 --- a/.github/workflows/ci_ubuntu-16.04.yml +++ b/.github/workflows/ci_ubuntu-16.04.yml @@ -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