sdnfv / openNetVM

A high performance container-based NFV platform from GW and UCR.
http://sdnfv.github.io/onvm/
Other
261 stars 134 forks source link

Fixed Issue #284 Linter Cppcheck #306

Closed Lhahn01 closed 2 years ago

Lhahn01 commented 2 years ago

Fixed an issue where cppcheck will not work at each PR.

Summary:

Updated both Linter.yml and install-linters.sh to install the correct version of cppcheck. Also, made sure that cppcheck runs-on: is ubuntu-20.04 rather than ubuntu-latest.

Usage: Cppcheck is used in GitHub Actions to automatically check our code at each PR.

This PR includes
Resolves issues Issue #284
Breaking API changes
Internal API changes
Usability improvements
Bug fixes X
New functionality
New NF/onvm_mgr args
Changes to starting NFs
Dependency updates
Web stats updates

Merging notes:

TODO before merging :

Test Plan:

Create a new PR or update existing PR to ensure that cppcheck is functioning correctly.

Review: