reduce cpp lint warnings #207
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
- develop | |
name: Cpp-lint-check | |
jobs: | |
cpplint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v2 | |
- run: pip install cpplint | |
- run: cpplint --quiet src/secsse_sim2.h src/secsse_sim.cpp | |
cppcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: sudo apt-get install cppcheck | |
- run: cppcheck -i src/RcppExports.cpp --quiet --enable=warning --error-exitcode=1 . |