Skip to content

Commit

Permalink
Add go setup action to debug artifact checks
Browse files Browse the repository at this point in the history
  • Loading branch information
angelapwen committed Nov 7, 2022
1 parent 9150ea9 commit 4d4d91d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/debug-artifacts-failure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/debug-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions lib/init-action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/init-action.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/init-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) &&
Expand Down

0 comments on commit 4d4d91d

Please sign in to comment.