Skip to content

Commit

Permalink
CI: add ClangFormat check
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Dec 21, 2022
1 parent ffb0ce6 commit 09d69f0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: ClangFormat Check
on:
push:
branches:
- main
- releasebranch_*
pull_request:
branches:
- main
- releasebranch_*
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.9.0
with:
clang-format-version: "15"
check-path: .

0 comments on commit 09d69f0

Please sign in to comment.