Skip to content

Commit 6781bd6

Browse files
authored
Create README.md
1 parent 7c0f9cd commit 6781bd6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Github action for linting the C++ code.
2+
Uses clang-tidy and cppcheck.
3+
4+
Example of usage:
5+
```
6+
name: lint
7+
8+
on: [pull_request]
9+
jobs:
10+
clang-tidy:
11+
name: clang-tidy
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: clang-tidy check
15+
uses: smay1613/clang-tidy-action@master
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
```

0 commit comments

Comments
 (0)