Skip to content

Commit

Permalink
CI: add clang format CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
evgenykor committed Jan 13, 2025
1 parent 53b764c commit cfcc3f7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/clang_format_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: clang-format Check
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.14.0
with:
clang-format-version: '13'
check-path: 'src'
fallback-style: 'Mozilla' # optional

0 comments on commit cfcc3f7

Please sign in to comment.