fix: go-mod-cache for ci

This commit is contained in:
Kevin Davis 2019-10-15 14:13:25 -04:00
parent 4260891bcd
commit ad42bf00e5

View File

@ -82,6 +82,11 @@ install: go.sum
######################################## ########################################
### Tools & dependencies ### Tools & dependencies
go-mod-cache: go.sum
@echo "--> Download go modules to local cache"
@go mod download
PHONY: go-mod-cache
go.sum: go.mod go.sum: go.mod
@echo "--> Ensuring dependencies have not been modified" @echo "--> Ensuring dependencies have not been modified"
@go mod verify @go mod verify