Skip to content

Commit f5dd378

Browse files
committed
Added workflow for cppcheck
1 parent 79ba8f9 commit f5dd378

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/cppcheck.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Name: CppCheck code linter
2+
3+
4+
on:
5+
push:
6+
branches: [ 'master', 'main', 'release/**' ]
7+
pull_request:
8+
branches: [ '*' ]
9+
10+
jobs:
11+
linter:
12+
runs-on: ubuntu-22.04
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
submodules: true
18+
19+
- name: Update repo
20+
run: |
21+
sudo apt-get update
22+
23+
- name: Run cppcheck
24+
run: |
25+
make cppcheck

0 commit comments

Comments
 (0)