Skip to content

Commit

Permalink
Update clang format (#1559)
Browse files Browse the repository at this point in the history
* add comment space directive (#1558)

* Create clang-format.yml

* Update clang-format.yml

* Update clang-format.yml

* Clang format updates (#1560)

* add comment space directive

* Fix clang format issue

* wrap in clang-format off
  • Loading branch information
baylesj authored Sep 10, 2024
1 parent 9c0b99c commit 463d7b2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: clang-format check
on: [push, pull_request]
jobs:
formatting-check:
name: formatting check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- 'src'
- 'examples'
- 'include'
steps:
- uses: actions/checkout@v4
- name: runs clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '18'
check-path: ${{ matrix.path }}

0 comments on commit 463d7b2

Please sign in to comment.