I added the linter process into CI workflow, for now, we have 3 stages into 1 job:
Test
Lint
Build
I don't use the just lint command already exists, because i used the golangci-lint image from github.
I needed to override the out-format in args to force show the line code and file affected, then in github actions for default don't have showing, same to describe in .golangci.yml.
Hi @mauricioabreu,
I added the linter process into CI workflow, for now, we have 3 stages into 1 job:
I don't use the
just lint
command already exists, because i used thegolangci-lint
image from github.I needed to override the out-format in
args
to force show the line code and file affected, then in github actions for default don't have showing, same to describe in.golangci.yml
.See that issue about this problem.
So, this way, worked very well.