[#450] Fix go.sum changes at builds with go1.16
There are changes in `go mod download` in go1.16 and it adds checksums for all module contents. Therefore we should perform `go mod tidy` after `go mod download`. Read more at https://github.com/golang/go/issues/43994 Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
576ed4075e
commit
bf7b8679bf
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -40,14 +40,14 @@ $(DIRS):
|
|||
|
||||
# Pull go dependencies
|
||||
dep:
|
||||
@printf "⇒ Tidy requirements : "
|
||||
CGO_ENABLED=0 \
|
||||
GO111MODULE=on \
|
||||
go mod tidy -v && echo OK
|
||||
@printf "⇒ Download requirements: "
|
||||
CGO_ENABLED=0 \
|
||||
GO111MODULE=on \
|
||||
go mod download && echo OK
|
||||
@printf "⇒ Tidy requirements : "
|
||||
CGO_ENABLED=0 \
|
||||
GO111MODULE=on \
|
||||
go mod tidy -v && echo OK
|
||||
|
||||
test_dep:
|
||||
@printf "⇒ Install test requirements: "
|
||||
|
|
Loading…
Reference in a new issue