keep-core
keep-core copied to clipboard
Configure go formatting in CI
Currently we run gofmt to verify the code formatting (https://github.com/keep-network/keep-core/pull/3175). It may not be enough, according to https://sparkbox.com/foundry/go_vet_gofmt_golint_to_code_check_in_Go go vet and golint should be added.
As golint got deprecated one of the recommendations is https://staticcheck.io/.
TODO:
- [x] research the tools that should be used in CI
- [x] implement CI jobs
- [ ] fix the problems reported by the checks
Refs:
- https://github.com/golang/go/issues/38968