add clang-format CI check

This commit is contained in:
Pheenoh
2020-12-26 13:18:14 -05:00
parent 9e442d11ca
commit d23b63c7cb
2 changed files with 15 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
name: Clang Format Check
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: DoozyX/clang-format-lint-action@v0.11
with:
source: '.'
extensions: 'h,cpp'
clangFormatVersion: 11