Skip to content

Commit a2c2804

Browse files
authored
Remove install for CodeQL analysis in CI
CodeQL only needs the build to happen, so it can observe the compilation and collect metadata for analysis.
1 parent 94455e9 commit a2c2804

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
uses: github/codeql-action/init@v3
3131
with:
3232
languages: javascript-typescript
33+
build-mode: none
3334

3435
# Perform CodeQL analysis
3536
- name: Perform CodeQL Analysis
@@ -56,6 +57,7 @@ jobs:
5657
uses: github/codeql-action/init@v3
5758
with:
5859
languages: c-cpp
60+
build-mode: manual
5961

6062
# Build project
6163
- name: Update apt-get
@@ -126,11 +128,6 @@ jobs:
126128
cd $HOME/cc-build
127129
make -j $(nproc)
128130
129-
- name: Install
130-
run: |
131-
cd $HOME/cc-build
132-
make install
133-
134131
# Perform CodeQL analysis
135132
- name: Perform CodeQL Analysis
136133
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)