nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 1cc021e99c12c9596c910196730a863f8434e233
parent a482becc75aa663f12993193b02993cae0bc768f
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Mon,  6 Jan 2025 18:50:15 +0530

Merge pull request #1980 from N-R-K/cppcheck

ci: add cppcheck for static analysis
Diffstat:
M.github/workflows/ci.yml | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -47,3 +47,13 @@ jobs: CC: gcc run: | make checkpatches + ubuntu-cppcheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Static analysis with cppcheck + run: | + sudo apt install cppcheck + cppcheck --std="c11" --error-exitcode=1 --enable=performance,portability \ + --force --inline-suppr --max-ctu-depth=8 -j"$(nproc)" \ + $(pkg-config --cflags ncurses) src/nnn.c