diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 25382f2..d8a45f3 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -31,6 +31,23 @@ jobs: - name: cppcheck run: cppcheck --std=c++17 src/ + code-format: + name: Code format check + + runs-on: ubuntu-latest + + steps: + - name: Install + run: | + sudo apt update + sudo apt install clang-format + + - name: Clone + uses: actions/checkout@v3 + + - name: clang-format + run: find src -type f -exec clang-format -style=file --dry-run --Werror {} \; + android: name: Android