mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
chore: check for unnecessary packages during CI (#1075)
- to prevent need for manual adjustments such as in https://github.com/goreleaser/goreleaser/commit/c338cfb
This commit is contained in:
parent
249657eb0b
commit
00cba17696
8
Makefile
8
Makefile
@ -36,8 +36,14 @@ lint:
|
||||
./bin/misspell -error **/*
|
||||
.PHONY: lint
|
||||
|
||||
# Clean go.mod
|
||||
go-mod-tidy:
|
||||
go mod tidy -v
|
||||
git diff-index --quiet HEAD || echo "Go mod tidy failed. Please run it locally"
|
||||
.PHONY: go-mod-tidy
|
||||
|
||||
# Run all the tests and code checks
|
||||
ci: build test lint
|
||||
ci: build test lint go-mod-tidy
|
||||
.PHONY: ci
|
||||
|
||||
# Build a beta version of goreleaser
|
||||
|
Loading…
x
Reference in New Issue
Block a user