build: Update CodeQL action to v4

Signed-off-by: nirenjan <nirenjan@gmail.com>
pull/58/head
nirenjan 2026-03-08 20:36:28 -07:00
parent 2378ba7dc4
commit 421e2964b3
1 changed files with 10 additions and 17 deletions

View File

@ -30,26 +30,19 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v4
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Build
run: |
./autogen.sh
mkdir -p build
cd build
../configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make -j V=0
make -j V=0 check
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v4