Skip to content

[pre-commit.ci] pre-commit autoupdate (#338) #864

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

[pre-commit.ci] pre-commit autoupdate (#338) #864

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 --check-level=exhaustive --suppressions-list=config/cppcheck_suppressions.txt --error-exitcode=-4 -i ThirdParty -i FuzzTargets -i docs -i config .