mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-03-06 07:29:29 +00:00
build: no need to list all go modules
It is not clear why listing all modules is useful. Some modules have internal versions (Kubernetes modules), and the command reports those as a warning with an error exit code. Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
parent
9d56a7e159
commit
08805a08f3
2
Makefile
2
Makefile
@ -110,8 +110,6 @@ go-test-api: check-env
|
||||
mod-check: check-env
|
||||
@echo 'running: go mod verify'
|
||||
@go mod verify && [ "$(shell sha512sum go.mod)" = "`sha512sum go.mod`" ] || ( echo "ERROR: go.mod was modified by 'go mod verify'" && false )
|
||||
@echo 'running: go list -mod=readonly -m all'
|
||||
@go list -mod=readonly -m all 1> /dev/null
|
||||
|
||||
scripts/golangci.yml: scripts/golangci.yml.in
|
||||
rm -f scripts/golangci.yml.buildtags.in
|
||||
|
Loading…
Reference in New Issue
Block a user