Skip to content

Commit

Permalink
Enable clang-format-check workflow
Browse files Browse the repository at this point in the history
Enforce clang-format consistency on all new changes.
  • Loading branch information
prashanthswami committed Jan 5, 2024
1 parent e793696 commit 8748832
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: clang-format
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check.
uses: jidicula/clang-format-action@v4.5.0
with:
exclude-regex: '^deps'

0 comments on commit 8748832

Please sign in to comment.