summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authornotyourav <65437533+notyourav@users.noreply.github.com>2021-02-19 15:00:49 -0800
committerGitHub <noreply@github.com>2021-02-19 15:00:49 -0800
commitfd2a50eee48c9c5d550ec435abccc38ae6dd5a85 (patch)
tree3ea2f49f159360e53789c20ea1456007916f03ae /.github/workflows
parentab3e488126c735c3aefdedf15bcae3774202cc05 (diff)
Create linting workflow
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/lint_pr.yml11
1 files changed, 11 insertions, 0 deletions
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