Add lint workflow for GitHub actions

This commit is contained in:
Quantum 2019-12-18 01:44:14 -05:00
parent ad5ee3c555
commit 2a54acce30

12
.github/workflows/lint.yml vendored Normal file
View file

@ -0,0 +1,12 @@
name: lint
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: DoozyX/clang-format-lint-action@v0.5
with:
source: '.'
extensions: 'h,c,cpp'
clangFormatVersion: 9