Skip to content

Commit

Permalink
3822: Add github action to check formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kduske committed Nov 13, 2021
1 parent d195c08 commit 807c7e2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: clang-format Check
on: [pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- 'app'
- 'common'
- 'dump-shortcuts'
- 'lib/kdl'
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/[email protected]
with:
clang-format-version: '13'
check-path: ${{ matrix.path }}

0 comments on commit 807c7e2

Please sign in to comment.