mirror of
https://github.com/github/codeql-action.git
synced 2026-04-27 01:08:46 +00:00
Pass explicit option to disable intra-layer parallelism
This commit is contained in:
@@ -10,6 +10,7 @@ import * as api from "./api-client";
|
||||
import type { Config } from "./config-utils";
|
||||
import { EnvVar } from "./environment";
|
||||
import {
|
||||
CODEQL_VERSION_INTRA_LAYER_PARALLELISM,
|
||||
CODEQL_VERSION_NEW_ANALYSIS_SUMMARY,
|
||||
CodeQLDefaultVersionInfo,
|
||||
Feature,
|
||||
@@ -787,6 +788,13 @@ export async function getCodeQLForCmd(
|
||||
)
|
||||
) {
|
||||
codeqlArgs.push("--intra-layer-parallelism");
|
||||
} else if (
|
||||
await util.codeQlVersionAbove(
|
||||
this,
|
||||
CODEQL_VERSION_INTRA_LAYER_PARALLELISM,
|
||||
)
|
||||
) {
|
||||
codeqlArgs.push("--no-intra-layer-parallelism");
|
||||
}
|
||||
await runTool(cmd, codeqlArgs);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user