Add github action to check license headers
parent
70b0872204
commit
3b124a7f66
|
@ -1,10 +1,10 @@
|
||||||
name: cppcheck-action-test
|
name: check
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: cppcheck-test
|
name: Checks
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
@ -32,3 +32,5 @@ jobs:
|
||||||
set -x
|
set -x
|
||||||
cppcheck --enable=all --inline-suppr --template='{file}:{line},{severity},{id},{message}' --error-exitcode=1 --suppress=missingIncludeSystem --suppress=missingInclude --suppress=unmatchedSuppression:pg_stat_monitor.c --check-config .
|
cppcheck --enable=all --inline-suppr --template='{file}:{line},{severity},{id},{message}' --error-exitcode=1 --suppress=missingIncludeSystem --suppress=missingInclude --suppress=unmatchedSuppression:pg_stat_monitor.c --check-config .
|
||||||
|
|
||||||
|
- name: Check license headers
|
||||||
|
uses: apache/skywalking-eyes/header@v0.6.0
|
Loading…
Reference in New Issue