14 runs-on: ubuntu-latest
17 security-events: write
20 - name: Install Dependencies
22 sudo apt update && sudo apt install cmake make gcc pkg-config libjson-c-dev linux-headers-generic lua5.1 liblua5.1-0-dev
24 - name: Install libubox
26 git clone --depth=1 https://git.openwrt.org/project/libubox.git
29 cmake -DBUILD_EXAMPLES=OFF
33 - name: Install libubus
35 git clone --depth=1 https://git.openwrt.org/project/ubus.git
38 cmake -DBUILD_EXAMPLES=OFF
42 - name: Install libuci
44 git clone --depth=1 https://git.openwrt.org/project/uci.git
51 - name: Install libudebug
53 git clone --depth=1 https://github.com/jow-/ucode
60 - name: Install libudebug
62 git clone --depth=1 https://git.openwrt.org/project/udebug.git
69 - name: Checkout repository
70 uses: actions/checkout@v4
72 # Initializes the CodeQL tools for scanning.
73 - name: Initialize CodeQL
74 uses: github/codeql-action/init@v3
77 queries: security-and-quality
85 - name: Perform CodeQL Analysis
86 uses: github/codeql-action/analyze@v3
88 category: "/language:c-cpp"