Skip to content

Commit e5ec878

Browse files
committed
feat #164: updated CodeQL version 4
Signed-off-by: sushant-suse <[email protected]>
1 parent d9b56e4 commit e5ec878

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,18 @@ jobs:
5858
- name: Install dependencies
5959
run: uv sync --frozen --group github-action
6060

61+
# Updated to v4 to avoid deprecation of v3 in late 2026
6162
- name: Initialize CodeQL
62-
uses: github/codeql-action/init@v3
63+
uses: github/codeql-action/init@v4
6364
with:
6465
languages: ${{ matrix.language }}
6566
# Extended suites catch more complex vulnerabilities and code quality smells
6667
queries: security-extended,security-and-quality
68+
# Explicitly set the source root to ensure Python files are picked up
69+
source-root: src
6770

71+
# Updated to v4 to match initialization
6872
- name: Perform Analysis
69-
uses: github/codeql-action/analyze@v3
73+
uses: github/codeql-action/analyze@v4
7074
with:
7175
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)