Merge pull request #1987 from N-R-K/ci-fix

fix ci
This commit is contained in:
Arun Prakash Jana 2025-01-27 22:14:06 +05:30 committed by GitHub
commit 62c84dd254
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,6 +46,7 @@ jobs:
env:
CC: gcc
run: |
sudo apt install libreadline-dev
make checkpatches
ubuntu-cppcheck:
runs-on: ubuntu-latest
@ -53,7 +54,7 @@ jobs:
- uses: actions/checkout@v2
- name: Static analysis with cppcheck
run: |
sudo apt install cppcheck
sudo apt install cppcheck libreadline-dev
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