Skip to content

Commit 2c0a8ff

Browse files
committed
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`. golang/go#43994
1 parent 6b48d8d commit 2c0a8ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ jobs:
4747
4848
- name: Check and get dependencies
4949
run: |
50+
go mod download
5051
go mod tidy
5152
git diff --exit-code go.mod
5253
git diff --exit-code go.sum
53-
go mod download
5454
5555
- name: Documentation validation
5656
run: make validate-doc

0 commit comments

Comments
 (0)