Add clang format (#270)
This commit is contained in:
parent
81c3ff9b1a
commit
63d8300c61
|
@ -31,6 +31,18 @@ jobs:
|
||||||
- name: cppcheck
|
- name: cppcheck
|
||||||
run: cppcheck --std=c++17 src/
|
run: cppcheck --std=c++17 src/
|
||||||
|
|
||||||
|
code-format:
|
||||||
|
name: Code format check
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Clone
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: clang-format
|
||||||
|
run: find src -type f -exec clang-format --dry-run --Werror {} \;
|
||||||
|
|
||||||
android:
|
android:
|
||||||
name: Android
|
name: Android
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue