Skip to content

fixed cppcheck

fixed cppcheck #3

Workflow file for this run

name: Cppcheck with netpass-builder
on:
push:
branches:
- '**' # all branches
jobs:
cppcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout netpass repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install cppcheck
run: sudo apt-get update && sudo apt-get install -y cppcheck
- name: Run cppcheck
run: |
cppcheck --enable=warning,unusedFunction,performance,portability,missingInclude --inline-suppr --std=c11 \
--language=c --quiet --suppressions-list=.cppcheck.suppress --template=gcc --check-level=exhaustive \
--error-exitcode=1 source/