Skip to content

[pre-commit.ci] pre-commit autoupdate (#311) #734

[pre-commit.ci] pre-commit autoupdate (#311)

[pre-commit.ci] pre-commit autoupdate (#311) #734

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 .