mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
* remove vendor directory athens will be using Go modules for dependency management * remove Gopkg.* files. athens will be using Go modules for dependency management * add note about Go version required for developing on Athens To use Go modules for dep management, you require atleast Go version 1.11 * update documentation regarding supported version of Go * dont install dep * re-add vendor directory go mod vendor * use vendored directory to carry out Go commands * remove the use of -mod=vendor this is necessary because; 1. we are running ci in a travis with a matrix of GO111MODULE=on & GO111MODULE=auto and -mod=vendor is not available as an option in GO111MODULE=auto(inside GOPATH) * rm vendor * run go mod tidy this is beacuse the master branch had changes to Gopkg.lock * match gopkg.in/go-playground/validator.v9 version with master branhc * go mod tidy * go mod vendor so as to vendor the new changes that were added in master * set GO111MODULE=on globally in ci * build with -mod=vendor when building docker image * use -mod=vendor to avoid getting deps from vcs in ci * use -mod=vendor in .drone.yml * use go1.11 in drone.yml