ccapi icon indicating copy to clipboard operation
ccapi copied to clipboard

Fix github workflow for checking C++ code style

Open cryptochassis opened this issue 4 years ago • 0 comments

Describe the bug Currently github workflow defined by .github/workflows/check_cpp_code_style.yml.d doesn't work.

Expected behavior The workflow, when triggered, should perform clang-format: find . -type f -not -path "*/dependency/*" -not -path "*/build/*" \( -name "*.h" -or -name "*.cpp" \) | xargs clang-format -i -style="{BasedOnStyle: Google, ColumnLimit: 160}". Then if git diff produces nothing, it should be considered pass (otherwise fail).

Note cpplint part does work as expected.

cryptochassis avatar Apr 13 '21 04:04 cryptochassis