R20 update #755
Workflow file for this run
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
name: Static Analyzers | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
cpplint: | |
runs-on: ubuntu-latest | |
container: helics/buildenv:cpplint | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run cpplint | |
run: cpplint --counting=detailed --recursive units test webserver converter | |
cppcheck: | |
runs-on: ubuntu-latest | |
container: helics/buildenv:cppcheck2 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run cppcheck | |
run: cppcheck --enable=performance,portability,unusedFunction --suppressions-list=config/cppcheck_suppressions.txt --error-exitcode=-4 -i ThirdParty -i FuzzTargets -i docs -i config . |