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. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - 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 # Override language selection by uncommenting this and choosing your languages
# with: # with:
# languages: go, javascript, csharp, python, cpp, java # languages: go, javascript, csharp, python, cpp, java
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - name: Build
# If this step fails, then you should remove it and run the build manually (see below) run: |
- name: Autobuild ./autogen.sh
uses: github/codeql-action/autobuild@v2 mkdir -p build
cd build
# Command-line programs to run using the OS shell. ../configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
# 📚 https://git.io/JvXDl make -j V=0
make -j V=0 check
# ✏️ 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: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2 uses: github/codeql-action/analyze@v4