Add go setup action to debug artifact checks

This commit is contained in:
Angela P Wen
2022-11-07 13:32:59 -08:00
parent 74a66cd3f4
commit d2327a08bc
5 changed files with 13 additions and 7 deletions
@@ -35,6 +35,9 @@ jobs:
uses: ./.github/prepare-test
with:
version: latest
- uses: actions/setup-go@v3
with:
go-version: ^1.13.1
- uses: ./../action/init
with:
tools: ${{ steps.prepare-test.outputs.tools-url }}
+3
View File
@@ -55,6 +55,9 @@ jobs:
uses: ./.github/prepare-test
with:
version: ${{ matrix.version }}
- uses: actions/setup-go@v3
with:
go-version: ^1.13.1
- uses: ./../action/init
with:
tools: ${{ steps.prepare-test.outputs.tools-url }}
+3 -3
View File
@@ -107,9 +107,9 @@ async function run() {
if ("CODEQL_EXTRACTOR_GO_BUILD_TRACING" in process.env) {
logger.warning("Go build tracing is now enabled by default, so the CODEQL_EXTRACTOR_GO_BUILD_TRACING environment variable which was previously used to manually enable Go build tracing is now deprecated. We recommend that you remove this environment variable from your workflow.");
}
// if (config.languages.includes(Language.go)) {
// core.exportVariable("CODEQL_EXTRACTOR_GO_BUILD_TRACING", "on");
// }
if (config.languages.includes(languages_1.Language.go)) {
core.exportVariable("CODEQL_EXTRACTOR_GO_BUILD_TRACING", "on");
}
if (config.languages.includes(languages_1.Language.python) &&
(0, actions_util_1.getRequiredInput)("setup-python-dependencies") === "true") {
try {
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -223,9 +223,9 @@ async function run() {
"Go build tracing is now enabled by default, so the CODEQL_EXTRACTOR_GO_BUILD_TRACING environment variable which was previously used to manually enable Go build tracing is now deprecated. We recommend that you remove this environment variable from your workflow."
);
}
// if (config.languages.includes(Language.go)) {
// core.exportVariable("CODEQL_EXTRACTOR_GO_BUILD_TRACING", "on");
// }
if (config.languages.includes(Language.go)) {
core.exportVariable("CODEQL_EXTRACTOR_GO_BUILD_TRACING", "on");
}
if (
config.languages.includes(Language.python) &&