Add errguards throughout the code to enable golangci-lint

This commit is contained in:
Jguer committed 2019-10-13 20:56:27 +01:00
1 parent 422a5931af
commit a591b33262
16 files changed
+148 -54

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ docker build --build-arg BUILD_ARCH=${ARCH} --target builder_env -t yay-builder_
docker build --build-arg BUILD_ARCH=${ARCH} --target builder -t yay-builder .
# Our unit test and packaging container
docker run --name yay-go-tests yay-builder_env:latest make test
docker run --name yay-go-tests yay-builder_env:latest make test && golint && golangci-lint run
docker rm yay-go-tests
# docker run yay-builder make lint