Update analyzers.yml #3
This file contains hidden or 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 Analysis | |
| # Runs on 'push' events to all branches - output will be printed to the console. | |
| # May be run manually as well. | |
| # Also runs on PRs, output shown in comments. | |
| on: [push, workflow_dispatch, pull_request] | |
| jobs: | |
| static_analysis: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: Run Static Analysis | |
| uses: JacobDomagala/StaticAnalysis@master | |
| with: | |
| # note: c++ includes c checks | |
| language: c++ | |
| use_cmake: true | |
| # Optional Clang-Tidy arguments | |
| clang_tidy_args: -checks='*,fuchsia-*,google-*,zircon-*,abseil-*,modernize-use-trailing-return-type,-readability-identifier-length,-*braces-around-statements,-cppcoreguidelines-init-variables,-llvmlibc-restrict-system-libc-headers' | |
| # Optional Cppcheck arguments | |
| cppcheck_args: --enable=all --suppress=missingIncludeSystem --suppress=unusedFunction --check-level=exhaustive -v --language=c |