-
-
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
Lint the Codebase and Create CI/CD workflow for the same #32
Comments
Hey! |
Hey @Shofiya2003 Yes, You can work on this. Assigning this to you right away
Yes we do need an workflow for linting and also you need to fix the currently existing issues (shown in the above screen-shot) that occurs when running a linter so that the GitHub actions checks may pass. @abhishekraj272 should we remove the |
yes, we can remove the |
Hey!
|
Sounds like a plan! |
Have a suggestion here 🤔 , may be you guys can decide on it accordingly 😅 i see if we will start resolving golangci-lint error here, that may take considerable amount of time, + at the same time other people will be committing un-linted code, there is a param At first we can start with that and create a pipeline 🟢 so that new coming code is correct, later on when old files code will be edited linting will come into play 😄 . Just wanted to say we can do it progressively instead of resolving all errors in one go (which may be frustrating sometimes 😞 ). At the end decision will be yours 💯 . |
Yeah, sounds good
…On Sat, 7 Jan 2023 at 6:36 PM, Nitin Chauhan ***@***.***> wrote:
Hey!
- first I should resolve the errors we get when we run golangci-lint
- use GitHub actions to set up the workflow for golang ci lint actions
Sounds like a plan!
Have a suggestion here 🤔 , may be you guys can decide on it accordingly
😅
i see if we will start resolving golangci-lint error here, that may take
considerable amount of time, + at the same time other people will be
committing un-linted code,
there is a param issues in golang-ci-lint configuration
if we mark the new inside it as true, then it will only analyze the new
coming code that it is correctly linted on not.
At first we can start with that and create a pipeline 🟢 so that new
coming code is correct, later on when old files code will be edited linting
will come into play 😄 .
Just wanted to say we can do it progressively instead of resolving all
errors in one go (which may be frustrating sometimes 😞 ).
At the end decision will be yours 💯 .
—
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGO7IBRROIVZ5YP55FJGQLDWRFS6VANCNFSM6AAAAAATOI7DPA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Alrighty |
Currently the codebase is not properly linted, when we run
golangci-lint run
in the root of repository we get many errors, so it is desirable to fix them up and create a GitHub action workflow for the same to avoid bumping into this in futureThe text was updated successfully, but these errors were encountered: