-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add linter to CI #24
Add linter to CI #24
Conversation
Signed-off-by: Arjun Raja Yogidas <[email protected]>
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.
lgtm
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.
LGTM overall, just left a few minor comments
Signed-off-by: Arjun Raja Yogidas <[email protected]>
7331fd6
to
d8b1994
Compare
@@ -147,4 +147,4 @@ require ( | |||
gopkg.in/yaml.v3 v3.0.1 // indirect | |||
k8s.io/cri-api v0.29.3 // indirect | |||
lukechampine.com/blake3 v1.2.1 // indirect | |||
) | |||
) |
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.
nit: newline :)
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.
I don't think this is a new line.. line number is still 150
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.
I mean you're missing the newline character at the end of file. See the red marker here.
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.
Oh shoot, My bad. Will add this back in the next commit.
Issue #, if available:
This commit adds golangci linter and yaml lint checks to the CI.
Description of changes:
Testing done:
go mod tidy
local e2e and unit tests
e2e and unit test in my fork
I've reviewed the guidance in CONTRIBUTING.md
License Acceptance
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.