aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/clang-format-lint.yml
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-09-28 01:12:32 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-09-28 01:12:32 +0000
commit7a21a6f81bce08a3db7f312bd2e0b7084b3e7fff (patch)
treecbcc19fcf98479dce5ad3e7954427bd82961a348 /.github/workflows/clang-format-lint.yml
parentdb4553b1a39ef8ef84a097dfa2e795c0a4df60d8 (diff)
parent56734c9de21b723684c083ccf7fcb8dad46ca387 (diff)
downloadgoogle-benchmark-android14-qpr2-s3-release.tar.gz
Change-Id: I033841d18cacdfc280e47e915b3a85ffad3c2962
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