CI: Add new workflow to check clang-format

This commit is contained in:
Luis Díaz Más
2022-03-15 18:25:38 +01:00
parent b2b6d834ba
commit f0e5ecdf98
2 changed files with 32 additions and 7 deletions
@@ -0,0 +1,14 @@
name: Clang Format Checker
on: [push]
jobs:
clang-format-checking:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: DoozyX/clang-format-lint-action@v0.13
with:
source: '.'
exclude: './xmpsdk ./contrib'
extensions: 'c,h,cpp,hpp'
clangFormatVersion: 12
style: file