aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/clang-format-lint.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/clang-format-lint.yml')
-rw-r--r--.github/workflows/clang-format-lint.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/clang-format-lint.yml b/.github/workflows/clang-format-lint.yml
new file mode 100644
index 0000000..77ce1f8
--- /dev/null
+++ b/.github/workflows/clang-format-lint.yml
@@ -0,0 +1,17 @@
+name: clang-format-lint
+on:
+ push: {}
+ pull_request: {}
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - uses: DoozyX/clang-format-lint-action@v0.13
+ with:
+ source: './include/benchmark ./src ./test'
+ extensions: 'h,cc'
+ clangFormatVersion: 12
+ style: Google