Skip to content

Commit 3b11ea9

Browse files
committed
ci: exclude c-cpp from CodeQL (autobuild needs XZ download, adds complexity)
1 parent 59c375b commit 3b11ea9

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ jobs:
3636
strategy:
3737
fail-fast: false
3838
matrix:
39+
# c-cpp excluded: requires XZ sources download + node-gyp build, adds significant complexity.
40+
# The native binding (src/bindings/*.cpp, ~1200 LOC) is reviewed manually on PR.
3941
language:
4042
- actions
41-
- c-cpp
4243
- javascript-typescript
4344
- python
4445

@@ -47,29 +48,25 @@ jobs:
4748
uses: actions/checkout@v6
4849

4950
- name: Setup pnpm
50-
if: matrix.language == 'javascript-typescript' || matrix.language == 'c-cpp'
51+
if: matrix.language == 'javascript-typescript'
5152
uses: pnpm/action-setup@v6
5253

5354
- name: Setup Node.js
54-
if: matrix.language == 'javascript-typescript' || matrix.language == 'c-cpp'
55+
if: matrix.language == 'javascript-typescript'
5556
uses: actions/setup-node@v6
5657
with:
5758
node-version: 22
5859
cache: pnpm
5960

6061
- name: Install dependencies (skip scripts)
61-
if: matrix.language == 'javascript-typescript' || matrix.language == 'c-cpp'
62+
if: matrix.language == 'javascript-typescript'
6263
run: pnpm install --frozen-lockfile --ignore-scripts
6364

6465
- name: Initialize CodeQL
6566
uses: github/codeql-action/init@v4
6667
with:
6768
languages: ${{ matrix.language }}
6869

69-
- name: Autobuild (c-cpp)
70-
if: matrix.language == 'c-cpp'
71-
uses: github/codeql-action/autobuild@v4
72-
7370
- name: Perform CodeQL Analysis
7471
uses: github/codeql-action/analyze@v4
7572
with:

0 commit comments

Comments
 (0)