From 82df059990ab5cc88e93916f0d5123bab5dc1e55 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Wed, 3 Mar 2021 01:12:22 +0100 Subject: [PATCH] core: prevent release failure With go1.16 thete 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 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5f592df4772..e5fa812e312 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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