core: prevent release failure

With go1.16 there is a difference between `go mod tidy` and `go mod
download`.
The `go.sum` is not altered in the same way by both commands.
`go mod tidy` must be always called after the `go mod download`.

https://github.com/golang/go/issues/43994
This commit is contained in:
Fernandez Ludovic 2021-03-03 01:12:22 +01:00
parent 6b48d8dda8
commit 2c0a8ff689

View file

@ -47,10 +47,10 @@ jobs:
- name: Check and get dependencies
run: |
go mod download
go mod tidy
git diff --exit-code go.mod
git diff --exit-code go.sum
go mod download
- name: Documentation validation
run: make validate-doc