Closed smira closed 5 years ago
This allows to skip directories which shouldn't be checked (e.g. .git/) or directories which aren't readable.
.git/
While I was at it, bumped Go version, golangci-lint, refactored tests to avoid duplicated code and make linter happy.
Rearranged a bit Dockerfile to avoid go mod download when go.mod is not changed.
Dockerfile
go mod download
go.mod
Signed-off-by: Andrey Smirnov smirnov.andrey@gmail.com
This allows to skip directories which shouldn't be checked (e.g.
.git/
) or directories which aren't readable.While I was at it, bumped Go version, golangci-lint, refactored tests to avoid duplicated code and make linter happy.
Rearranged a bit
Dockerfile
to avoidgo mod download
whengo.mod
is not changed.Signed-off-by: Andrey Smirnov smirnov.andrey@gmail.com