Create linting workflow

This commit is contained in:
notyourav 2021-02-19 15:00:49 -08:00 committed by GitHub
parent ab3e488126
commit fd2a50eee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

11
.github/workflows/lint_pr.yml vendored Normal file
View File

@ -0,0 +1,11 @@
name: lint_pr
on: pull_request
jobs:
clang-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: DoozyX/clang-format-lint-action@v0.8
with:
source: 'src, include'
clangFormatVersion: 10