Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install wrapper script for Go on Linux to support tracing for Go 1.21 and above #1909

Merged
merged 29 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
d718153
Use Go 1.21 for Go tracing checks
mbg Sep 28, 2023
c08086a
Add new environment variable for Go binary path
mbg Sep 28, 2023
3c15d23
Add utility function to run `file` command
mbg Sep 28, 2023
2bd75f5
Install Go wrapper script if necessary
mbg Sep 28, 2023
4611ff9
Cross-check Go binary in `analyze` Action
mbg Sep 28, 2023
df098ab
Set `DID_AUTOBUILD_GOLANG` in `runAutobuild`
mbg Sep 28, 2023
4cee553
Output stdout upon error in getFileType
mbg Oct 4, 2023
6044480
Add which go output in warning
mbg Oct 4, 2023
abb71f1
Add CLI feature flag to disable Go workaround
mbg Oct 4, 2023
7b0b42a
Remove `FeaturesInVersionResult`
mbg Oct 4, 2023
f6d9b6b
Improve/add log messages
mbg Oct 4, 2023
8ac1877
Allow other patch versions of Go in workflows
mbg Oct 4, 2023
9a5a628
Improve `getFileType`
mbg Oct 4, 2023
41a13ec
Fix comment in analyse Action
mbg Oct 4, 2023
bb70bab
Add comment explaining workaround
mbg Oct 4, 2023
68d0b65
Add another level to `tempBinPath`
mbg Oct 4, 2023
7380306
Trim `file` output
mbg Oct 5, 2023
db9f2c5
Add test for `isSupportedToolsFeature`
mbg Oct 5, 2023
c8dd2bc
Add integration test for workaround
mbg Oct 5, 2023
36777d2
Add utilities to produce diagnostics
mbg Oct 5, 2023
eb71a60
Emit diagnostic when Go was changed after `init`
mbg Oct 5, 2023
2b193c5
Store diagnostics in a `codeql-action` directory
mbg Oct 5, 2023
faf7528
Add integration test for Go workaround diagnostic
mbg Oct 5, 2023
7f4a948
Fix: create codeql-action diagnostics directory
mbg Oct 5, 2023
4154eb7
Fix: workflow name and description
mbg Oct 5, 2023
a144bf5
Store diagnostics in language-specific database
mbg Oct 5, 2023
3b2fee4
Include `mkdirSync` in `try`/`catch`
mbg Oct 5, 2023
94f3e9b
Apply suggestions from code review
mbg Oct 5, 2023
235bdca
Use `markdownMessage`
mbg Oct 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

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

94 changes: 94 additions & 0 deletions .github/workflows/__go-indirect-tracing-workaround.yml

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

3 changes: 3 additions & 0 deletions .github/workflows/__go-tracing-autobuilder.yml

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

3 changes: 3 additions & 0 deletions .github/workflows/__go-tracing-custom-build-steps.yml

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

3 changes: 3 additions & 0 deletions .github/workflows/__go-tracing-legacy-workflow.yml

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

32 changes: 31 additions & 1 deletion lib/actions-util.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/actions-util.js.map

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions lib/analyze-action.js

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

Loading
Loading