File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,17 @@ jobs:
22
22
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23
23
- name : Set SOURCE_DATE_EPOCH
24
24
run : echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}"
25
- - name : Install clang-tidy
25
+ - name : Install linters
26
26
shell : bash
27
27
run : |
28
28
sudo apt update -y
29
- sudo apt install clang-tidy
29
+ sudo apt install clang-tidy cppcheck splint
30
30
- name : Run clang-tidy
31
31
shell : bash
32
32
run : make clang-tidy
33
+ - name : Run cppcheck
34
+ shell : bash
35
+ run : make cppckeck
33
36
- name : Run splint
34
37
shell : bash
35
38
run : make splint
Original file line number Diff line number Diff line change @@ -9,3 +9,6 @@ clang-tidy: src/asn1dump.c
9
9
10
10
splint : src/asn1dump.c
11
11
splint -checks src/asn1dump.c
12
+
13
+ cppcheck : src/asn1dump.c
14
+ cppcheck --check-level=exhaustive src/asn1dump.c
You can’t perform that action at this time.
0 commit comments