Skip to content

Commit

Permalink
chore(dev): check clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed Dec 2, 2023
1 parent 70a85bf commit 4a640a2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,24 @@ jobs:
- name: Run unit tests
run: yarn test --maxWorkers=2 --coverage

check-clang:
name: Check clang-format
runs-on: ubuntu-latest
strategy:
matrix:
path:
- 'cpp'
- 'android/cpp'
- 'ios'
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check
uses: mrousavy/clang-format-action@v1
with:
clang-format-version: '16'
check-path: ${{ matrix.path }}
clang-format-style-path: package/cpp/.clang-format

build:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 4a640a2

Please sign in to comment.