Skip to content

Commit

Permalink
core: prevent release failure
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ldez committed Mar 3, 2021
1 parent 6b48d8d commit 2c0a8ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c0a8ff

Please sign in to comment.