-
-
Notifications
You must be signed in to change notification settings - Fork 52
31 lines (29 loc) · 715 Bytes
/
validate-cpp.yml
File metadata and controls
31 lines (29 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Validate C++
on:
push:
branches:
- main
paths:
- '.github/workflows/validate-cpp.yml'
- 'cpp/**'
pull_request:
paths:
- '.github/workflows/validate-cpp.yml'
- 'cpp/**'
jobs:
lint:
name: cpplint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: reviewdog/action-cpplint@master
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\
"