forked from TrueCloudLab/lego
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:
parent
6b48d8dda8
commit
2c0a8ff689
1 changed files with 1 additions and 1 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue