Closed abstractj closed 4 years ago
Is there an easy way we can test these workflows before merging?
Yes, you can look at the fork here https://github.com/abstractj/louketo-proxy/actions. As you may notice, there are several alerts there for golangci-lint. Which ones do you think we should disable?
IMO the alerts for whitespace
make sense, but not sure about the complexity
warnings. Because sometimes we only updated the code to please the Linter. But if you consider this something important, we can keep it.
In general I think the complexity ones are good, but you can get ones that are a bit annoying, such as the ones highlighted here. I believe we can add an exception to .golangci.yaml
if we want to keep it turned on. I have no strong opinion either way on this one
@JoelSpeed np, let's keep it. Found a typo on my YAML file, but it's fixed now. If there's anything else that you would like to change, please let me know.
Do you think we should try and fixup the linting issues before merging this? Probably as a separate PR?
@JoelSpeed of course, we can do that, there's no need to rush about merging this.
@stianst could you please review?
Changes
Running example:
Testing this PR
build.yml
file from this PR and add it to.github/workflows
into the fork of Louketomaster
at your forkRelates to #615 Resolves #604