golangci-lint --> analyzes your Go source code and reports various issues, bugs, and style violations. It combines the functionality of multiple linters into a single tool
Hadolint --> identify common issues and potential vulnerabilities in Dockerfile syntax and construction
GoVet --> static analysis tool that helps identify common mistakes and potential bugs in Go programs
Action will always end as successful ( this way all the linters can do its job ) so for errors please check the logs of the steps. I am also not adding this to CI/CD pipeline since it will fail almost all the time due to error linters find. Error that we are getting now are more "cosmetic" and do not affect the app as itself. We can run linters manually to check for the app state.
Added 3 linters as we needed to have:
Action will always end as successful ( this way all the linters can do its job ) so for errors please check the logs of the steps. I am also not adding this to CI/CD pipeline since it will fail almost all the time due to error linters find. Error that we are getting now are more "cosmetic" and do not affect the app as itself. We can run linters manually to check for the app state.