From fd2a50eee48c9c5d550ec435abccc38ae6dd5a85 Mon Sep 17 00:00:00 2001 From: notyourav <65437533+notyourav@users.noreply.github.com> Date: Fri, 19 Feb 2021 15:00:49 -0800 Subject: [PATCH] Create linting workflow --- .github/workflows/lint_pr.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/lint_pr.yml 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