update ci to use go 1.13, switch to golangci-lint

This commit is contained in:
Elliot
2019-10-31 08:21:19 +11:00
committed by Mike Farah
parent d1cec1ad18
commit d05391e244
8 changed files with 18 additions and 40 deletions
+2 -3
View File
@@ -14,7 +14,7 @@ help:
@echo ' make build Build yq binary.'
@echo ' make install Install yq.'
@echo ' make xcompile Build cross-compiled binaries of yq.'
@echo ' make vendor Install dependencies using govendor.'
@echo ' make vendor Install dependencies to vendor directory.'
@echo ' make format Run code formatter.'
@echo ' make check Run static code analysis (lint).'
@echo ' make test Run tests on project.'
@@ -71,8 +71,7 @@ install: build
# Each of the fetch should be an entry within vendor.json; not currently included within project
.PHONY: vendor
vendor: tmp/dev_image_id
${DOCKRUN} govendor sync
@chmod 664 vendor/vendor.json
${DOCKRUN} go mod vendor
# ----------------------------------------------
# develop and test