ci: Add a PR lint workflow

This commit is contained in:
Léo Lam
2020-08-22 10:37:58 +02:00
parent 31e4ddd572
commit 87cc9104de
2 changed files with 13 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
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'
exclude: 'lib'
clangFormatVersion: 10