-
Notifications
You must be signed in to change notification settings - Fork 20
golangci-lint updates and build maintenance #363
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
golangci-lint updates and build maintenance #363
Conversation
Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
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
This PR standardizes the toolchain and updates configurations for golangci-lint version consistency. Key changes include:
- Adding nolint suppression comments with a TODO note in the cel extension files.
- Updating the dependency list in .golangci.yml to align with the updated toolchain.
- Adjusting GitHub workflow steps for proper checkout and specifying the golangci-lint version.
Reviewed Changes
Copilot reviewed 5 out of 7 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| pkg/bundle/ruleset/engine/cel/ext/secret.go | Added a nolint comment to suppress staticcheck warnings for deprecated usage. |
| pkg/bundle/ruleset/engine/cel/ext/package.go | Added a similar nolint comment for deprecated usage. |
| .golangci.yml | Updated dependency entries; note a duplicate entry for image-spec appears. |
| .github/workflows/go.yml | Reorganized steps and updated checkout and golangci-lint action version. |
Files not reviewed (2)
- go.mod: Language not supported
- tools/go.mod: Language not supported
.golangci.yml
Outdated
| - github.com/opencontainers/image-spec | ||
| - github.com/ory/dockertest/v3 | ||
| - github.com/pelletier/go-toml | ||
| - github.com/pelletier/go-toml |
Copilot
AI
Apr 28, 2025
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.
The dependency 'github.com/opencontainers/image-spec' appears twice. Removing the duplicate entry will help avoid potential configuration conflicts.
| - github.com/pelletier/go-toml |
Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
robinverduijn
left a comment
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.
👍
The PR addresses the following updates.
go.modandtools/go.modto enforce the use of a common tool chain.v1.64.8of golangci-lint.github workflowswith the installed tools..golangci.ymlfor golangci runner configuration.