add clang-check

This commit is contained in:
Peter Buchegger 2021-10-14 22:30:19 +01:00
parent 46d326722c
commit 5b1be61032
2 changed files with 160 additions and 0 deletions

View file

@ -55,3 +55,15 @@ jobs:
with:
name: firmware
path: .pio/build/*/firmware.bin
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/clang-format-action@v3.2.0
with:
clang-format-version: '11'
check-path: src