Revert "Bump default CodeQL version to 2.7.3"
This commit is contained in:
parent
eebe7c46f1
commit
a8cf6f42c2
7 changed files with 6 additions and 30 deletions
3
.github/workflows/pr-checks.yml
vendored
3
.github/workflows/pr-checks.yml
vendored
|
|
@ -370,9 +370,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
../action/runner/dist/codeql-runner-macos init --repository $GITHUB_REPOSITORY --languages csharp --github-url $GITHUB_SERVER_URL --github-auth ${{ github.token }}
|
../action/runner/dist/codeql-runner-macos init --repository $GITHUB_REPOSITORY --languages csharp --github-url $GITHUB_SERVER_URL --github-auth ${{ github.token }}
|
||||||
|
|
||||||
- name: Initialize dotnet
|
|
||||||
run: dotnet restore
|
|
||||||
|
|
||||||
- name: Build code
|
- name: Build code
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
## [UNRELEASED]
|
## [UNRELEASED]
|
||||||
|
|
||||||
- Update default CodeQL bundle version to 2.7.3. [#837](https://github.com/github/codeql-action/pull/837)
|
No user facing changes.
|
||||||
|
|
||||||
## 1.0.25 - 06 Dec 2021
|
## 1.0.25 - 06 Dec 2021
|
||||||
|
|
||||||
|
|
|
||||||
13
lib/codeql.js
generated
13
lib/codeql.js
generated
|
|
@ -461,18 +461,7 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||||
"-Dhttp.keepAlive=false",
|
"-Dhttp.keepAlive=false",
|
||||||
"-Dmaven.wagon.http.pool=false",
|
"-Dmaven.wagon.http.pool=false",
|
||||||
].join(" ");
|
].join(" ");
|
||||||
const runnerExecutable = process.env["CODEQL_RUNNER"] || "";
|
await runTool(autobuildCmd);
|
||||||
// On Mac, prefixing with the runner executable is required to handle System Integrity Protection.
|
|
||||||
if (runnerExecutable) {
|
|
||||||
// Earlier steps (init) are expected to have written the runner executable path
|
|
||||||
// to the tracing environment, and the current step is expected to have
|
|
||||||
// correctly loaded that environment.
|
|
||||||
await runTool(runnerExecutable, [autobuildCmd]);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
// Fallback in case CODEQL_RUNNER wasn't correctly set or loaded.
|
|
||||||
await runTool(autobuildCmd);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
async extractScannedLanguage(databasePath, language) {
|
async extractScannedLanguage(databasePath, language) {
|
||||||
// Get extractor location
|
// Get extractor location
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"bundleVersion": "codeql-bundle-20211207"
|
"bundleVersion": "codeql-bundle-20211122"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -732,17 +732,7 @@ async function getCodeQLForCmd(
|
||||||
"-Dmaven.wagon.http.pool=false",
|
"-Dmaven.wagon.http.pool=false",
|
||||||
].join(" ");
|
].join(" ");
|
||||||
|
|
||||||
const runnerExecutable = process.env["CODEQL_RUNNER"] || "";
|
await runTool(autobuildCmd);
|
||||||
// On Mac, prefixing with the runner executable is required to handle System Integrity Protection.
|
|
||||||
if (runnerExecutable) {
|
|
||||||
// Earlier steps (init) are expected to have written the runner executable path
|
|
||||||
// to the tracing environment, and the current step is expected to have
|
|
||||||
// correctly loaded that environment.
|
|
||||||
await runTool(runnerExecutable, [autobuildCmd]);
|
|
||||||
} else {
|
|
||||||
// Fallback in case CODEQL_RUNNER wasn't correctly set or loaded.
|
|
||||||
await runTool(autobuildCmd);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
async extractScannedLanguage(databasePath: string, language: Language) {
|
async extractScannedLanguage(databasePath: string, language: Language) {
|
||||||
// Get extractor location
|
// Get extractor location
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"bundleVersion": "codeql-bundle-20211207"
|
"bundleVersion": "codeql-bundle-20211122"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue