mirror of
https://github.com/github/codeql.git
synced 2026-01-30 23:02:56 +01:00
We've had to tell people how to do this, so we should have a name for it that doesn't refer to a defunct company.
893 B
893 B
Improvements to Go analysis
Changes to code extraction
- In resource-constrained environments, the environment variable
CODEQL_EXTRACTOR_GO_MAX_GOROUTINEScan be used to limit the number of parallel goroutines started by the extractor, which reduces CPU and memory requirements. The default value for this variable is 32. - The autobuilder now runs Makefiles or custom build scripts present in the codebase to install dependencies. The build command
to invoke can be configured via
lgtm.yml, or by setting the environment variableCODEQL_EXTRACTOR_GO_BUILD_COMMAND. - The autobuilder now attempts to automatically detect when dependencies have been vendored and use
-mod=vendorappropriately. - The extractor now supports extracting go.mod files, enabling queries on dependencies and their versions.
- The extractor now supports Go 1.14.