Skip to content

R20 update

R20 update #766

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 .