-
Notifications
You must be signed in to change notification settings - Fork 1
chore: Update to Go 1.24.6 and Go linter to 2.3.1 #57
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
Conversation
@@ -11,7 +12,7 @@ import ( | |||
|
|||
func RunTF(args ...string) (string, error) { | |||
args = append([]string{"tf"}, args...) | |||
cmd := exec.Command("atlas", args...) | |||
cmd := exec.CommandContext(context.Background(), "atlas", args...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix linter issue:
os/exec.Command must not be called. use os/exec.CommandContext (noctx)
snyk false positives |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Updates the project's Go version from 1.24.1 to 1.24.6 and upgrades the golangci-lint tool from v2.1.6 to v2.3.1 for improved code quality tooling.
- Updated Go runtime version to 1.24.6
- Upgraded golangci-lint to v2.3.1 in both Makefile and GitHub workflow
- Modified test helper to use context-aware command execution
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
File | Description |
---|---|
go.mod | Updates Go version requirement from 1.24.1 to 1.24.6 |
Makefile | Updates GOLANGCI_VERSION from v2.1.6 to v2.3.1 |
.github/workflows/code-health.yml | Updates golangci-lint action version to v2.3.1 |
test/e2e/e2e_helper.go | Replaces exec.Command with exec.CommandContext for better context handling |
*.log | ||
*.mdc | ||
__debug_* | ||
*~ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
common ignore files as in Terraform repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TY!
Description
Update to Go 1.24.6 and Go linter to 2.3.1
Link to any related issue(s): CLOUDP-337347
Type of change:
Required Checklist:
Further comments