Skip to content

Commit

Permalink
Add clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed May 4, 2021
1 parent adeebc0 commit 7643ac8
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/validate-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,10 @@ on:

jobs:
lint:
name: cpplint
name: clang-format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: reviewdog/action-cpplint@master
- uses: RafikFarhad/clang-format-github-action@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
flags: --linelength=230
targets: --recursive cpp android/src/main/cpp
filter: "-legal/copyright\
,-readability/todo\
,-build/namespaces\
,-whitespace/comments\
"
sources: "**/*.h,**/*.cpp,**/*.m"

0 comments on commit 7643ac8

Please sign in to comment.