diff --git a/.github/workflows/lint_pr.yml b/.github/workflows/lint_pr.yml new file mode 100644 index 00000000..7afa3866 --- /dev/null +++ b/.github/workflows/lint_pr.yml @@ -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