mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-11 13:38:41 +02:00
chore: fix go-mod-tidy silent failure (#1080)
- due to the `||` go-mod-tidy check will fail silently
This commit is contained in:
parent
018d37cf38
commit
797dc69458
2
Makefile
2
Makefile
@ -39,7 +39,7 @@ lint:
|
|||||||
# Clean go.mod
|
# Clean go.mod
|
||||||
go-mod-tidy:
|
go-mod-tidy:
|
||||||
go mod tidy -v
|
go mod tidy -v
|
||||||
git diff-index --quiet HEAD || echo "Go mod tidy failed. Please run it locally"
|
git diff-index --quiet HEAD
|
||||||
.PHONY: go-mod-tidy
|
.PHONY: go-mod-tidy
|
||||||
|
|
||||||
# Run all the tests and code checks
|
# Run all the tests and code checks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user