Skip to content

[pre-commit.ci] pre-commit autoupdate #810

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #810

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@v4
- 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@v4
- 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 .