Open
Description
Hi! We've recently adopted CodeQL into our system and noticed very slow analysis for one of our codebases, which consists of java + kotlin.
For comparison:
- regular build takes 20-30 minutes
- codeql analysis with autobuild mode takes 4 hours on average.
To be frank, our codebase is quite large, but I didn't expect this action to take 8x longer than the build itself. Can it be sped up somehow?
Let me know if you need more info.
Workflow file for reference:
name: "CodeQL"
on:
...
jobs:
...
analyze-java:
name: Analyze java-kotlin
container:
image: XXXX
credentials:
username: XXXX
password: XXXX
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java-kotlin
build-mode: autobuild
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:java-kotlin"
Metadata
Metadata
Assignees
Labels
No labels