Skip to content

Commit

Permalink
ci: check c code format
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed Dec 10, 2023
1 parent 79e1225 commit 3a8c8dd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/code-format.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: clang-format Check
on: [push, pull_request]
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/[email protected]
with:
clang-format-version: '13'
check-path: 'c_src'

0 comments on commit 3a8c8dd

Please sign in to comment.