keep-core icon indicating copy to clipboard operation
keep-core copied to clipboard

Configure go formatting in CI

Open nkuba opened this issue 3 years ago • 0 comments

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

nkuba avatar Aug 17 '22 21:08 nkuba