-
-
Notifications
You must be signed in to change notification settings - Fork 41
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 config and workflow #62
Golangci config and workflow #62
Conversation
b4b13f0
to
eff6722
Compare
the linting checks are failing as it cannot access the packages. will try to resolve them by today. |
.github/workflows/golangci-lint.yml
Outdated
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17 |
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.
we are using 1.19, could you bump the number
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.
sure
@@ -0,0 +1,2 @@ | |||
issues: |
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.
what this file will do?
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.
.golangci.yml
is a configuration file used by golangci-lint
It can be used to mold the linter as per our repo needs
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.
Changes LGTM just make sure all the tests are passing
@uzaxirr i tried resolving the errors given by the golangci-lint actions, it cannot import packages. I tried to use go build before running |
Hey @Shofiya2003 |
Hey @Shofiya2003 |
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.
Merging it now, Thanks for your contribution!
thanks a ton! |
Resolved linting errors in resent codebase and created a workflow for linting

closes #32