File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 4545 --suppress=unusedFunction \
4646 src/
4747 echo "::endgroup::"
48+
49+ lizard :
50+ runs-on : ubuntu-latest
51+ permissions : read-all
52+
53+ steps :
54+ - uses : actions/checkout@v4
55+
56+ - name : Install build dependencies
57+ run : |
58+ sudo apt-get update
59+ sudo apt-get -y install \
60+ build-essential \
61+ autoconf \
62+ automake \
63+ gnutls-dev \
64+ libkeyutils-dev \
65+ libnl-3-dev \
66+ libnl-genl-3-dev \
67+ libglib2.0-dev
68+
69+ - name : Install tools
70+ run : |
71+ pip3 install lizard bandit[toml]
72+
73+ - name : Configure
74+ run : |
75+ ./autogen.sh
76+ ./configure --with-systemd
77+
78+ - name : Run Lizard Complexity Analysis
79+ run : |
80+ echo "::group::Complexity Analysis"
81+ lizard --CCN 15 src/ || true
82+ echo "::endgroup::"
You can’t perform that action at this time.
0 commit comments