Skip to content
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

Moved linter job to build workflow #3131

Merged
merged 4 commits into from
Aug 4, 2023
Merged

Moved linter job to build workflow #3131

merged 4 commits into from
Aug 4, 2023

Conversation

dszlachta
Copy link
Contributor

@dszlachta dszlachta commented Aug 4, 2023

  • Moved the job so that it executes before tests.
  • Changed make lint so that it also uses golangci-lint (you might need to install it locally with brew)
  • Fixed linter errors

Linter in this configuration complained only about ignored errors, so I've fixed it by replacing FuncReturningErr() with _ = FuncReturningErr(). I think it's better because it shows that there might be an error that we ignore. If you don't like it, we can git revert beb1d04983b8c16c1a6b66f2ee4812d8b5287044

@dszlachta dszlachta requested a review from tjayrush August 4, 2023 06:47
@dszlachta dszlachta force-pushed the workflow/linter branch 9 times, most recently from f55e8d5 to 9f645b0 Compare August 4, 2023 08:57
@dszlachta dszlachta force-pushed the workflow/linter branch 3 times, most recently from 840b9f0 to 4a47280 Compare August 4, 2023 10:03
@tjayrush tjayrush merged commit 77a47f7 into develop Aug 4, 2023
@tjayrush tjayrush deleted the workflow/linter branch August 4, 2023 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants