-
Notifications
You must be signed in to change notification settings - Fork 4
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
Enable golangci-lint and go unit test github actions #409
Conversation
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.
Gh action looks good.
It seems to be pointing the linting issue already :)
will the issues reported get fixed? you could always leave the disabled/enabled plugin list as is, which would result in no errors. |
47a2386
to
646a2dc
Compare
As the Jenkins workflows aren't working, maybe they should be removed. Anything that doesn't go green should not be merged. |
This will probably conflict @squizzi 's MSR3 PR quite bad. |
Or squizzis PR makes this conflict but not as bad as I thought :) |
I'll check out how hard this is to rebase now. |
the only real conflict I see (besides the MSR3 rework) is the recent uninstallMCR refactor that @cranzy did. I will ask him to do the rebase. |
I did the rebase, but there are some failing unit tests. They're not passing on |
There was a logical mistake in the manager.go file, which caused the binary to stop on the first phase that was successful. |
Signed-off-by: Kimmo Lehto <[email protected]> Signed-off-by: Kimmo Lehto <[email protected]>
Signed-off-by: Kimmo Lehto <[email protected]>
Signed-off-by: Kimmo Lehto <[email protected]>
Signed-off-by: Kimmo Lehto <[email protected]>
Signed-off-by: Kimmo Lehto <[email protected]>
Signed-off-by: Kimmo Lehto <[email protected]>
Signed-off-by: Kimmo Lehto <[email protected]>
Signed-off-by: Kimmo Lehto <[email protected]>
Signed-off-by: Kimmo Lehto <[email protected]>
Signed-off-by: Kimmo Lehto <[email protected]>
Just a couple of notes:
|
Signed-off-by: Dimitar Dimitrov <[email protected]>
I've confirmed that both |
Some of the modified error messages may be overly verbose and repetitive, but I believe there will be more context to work with when a user reports such an error.
There were a couple of linting errors that were security vulnerabilities found by gosec.
Unit tests have not been passing since Dec 2022.