Commit Graph

2 Commits

Author SHA1 Message Date
Thibault
d5a65b48df Add Cpplint Static Code Analysis to CI Workflow (#1794)
* Add Cpplint Static Code Analysis to CI Workflow

* Fix spell check & typo

* Update cpplint triggering policy

* Add `linelength` fword from CppLint to SpellCheck

* Export `Cpplint` policy into `CPPLINT.cfg`

* Fix Spellcheck `Unrecognized words (2)`

* Remove some rule filters to reduce scan errors.

Asked by @thomas-bc: https://github.com/nasa/fprime/pull/1794#pullrequestreview-1226906932

* Use `set` to check membership of a collection of literals

* Refactor `cpplint_to_cppcheckxml.py`

* Remove remaining `filter=+build/header_guard`

* Remove `checkout_path` froù upload-sarif action

* Rename job from `cppcheck` to `cpplint` in CppLint workflow

* Fix tool name in SARIF

Co-authored-by: Thomas Boyer Chammard <49786685+thomas-bc@users.noreply.github.com>
2023-01-26 10:37:21 -08:00
Thibault
0ffaaf0c89 Add Cppcheck Static Code Analysis to CI Workflow (#1782)
* Add cppcheck scan workflow to Actions

* Improve step names

* Spell check

* Consider only `error` severity on CppCheck CI report

* Use relative paths in CppCheck output

* Modify Cppcheck trigger policy

* Add comment about cppcheck Scan CI failure

* Add newline at end of spellcheck expect

* Typo GitHub

* Try fixing spellcheck w/ cppcheck issue
2022-12-06 10:29:19 -08:00