Skip to content

Commit 23b6d2c

Browse files
committed
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>
1 parent ab9fd25 commit 23b6d2c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ go-test-api: check-env
110110
mod-check: check-env
111111
@echo 'running: go mod verify'
112112
@go mod verify && [ "$(shell sha512sum go.mod)" = "`sha512sum go.mod`" ] || ( echo "ERROR: go.mod was modified by 'go mod verify'" && false )
113-
@echo 'running: go list -mod=readonly -m all'
114-
@go list -mod=readonly -m all 1> /dev/null
115113

116114
scripts/golangci.yml: scripts/golangci.yml.in
117115
rm -f scripts/golangci.yml.buildtags.in

0 commit comments

Comments
 (0)