-
Notifications
You must be signed in to change notification settings - Fork 17
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
ci: added staticcheck and vet as linters #225
base: main
Are you sure you want to change the base?
Conversation
Marked it as WIP because of the new cpu collector, which is not used and |
Nice lets get this one going, when we are ready with the collector then? |
Yes, because right now the |
b0028d9
to
bb710c7
Compare
In the end I had to split off the linting job into a new github action because running inside of the SLES container where the tests are run was basically impossible. |
Following Go's standards, we should be using `go vet` and `staticcheck` as well. Signed-off-by: Miquel Sabaté Solà <[email protected]>
Tools like staticcheck have problems running on the SLES container being used to run unit tests. Signed-off-by: Miquel Sabaté Solà <[email protected]>
Following Go's standards, we should be using
go vet
andstaticcheck
as well.