Skip to content

Commit b458c07

Browse files
build: remove unnecessary go mod tidy/vendor
Signed-off-by: Niraj Yadav <[email protected]>
1 parent 92ba605 commit b458c07

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,7 @@ envtest:
242242
OPERATOR_SDK = $(shell pwd)/bin/operator-sdk
243243
.PHONY: operator-sdk
244244
operator-sdk:
245-
# FIXME: Remove `go mod tidy && go mod vendor` once we find the reason why ci workflow fails.
246-
cd ./tools && go mod tidy && go mod vendor && go build -o $(OPERATOR_SDK) ./vendor/$(shell grep operator-sdk tools/tools.go | sed 's/.*_ "//;s/"//')
245+
cd ./tools && go build -o $(OPERATOR_SDK) ./vendor/$(shell grep operator-sdk tools/tools.go | sed 's/.*_ "//;s/"//')
247246

248247
# protoc-gen-go gets installed from the vendor/ directory.
249248
PROTOC_GEN_GO = $(shell pwd)/bin/protoc-gen-go

tools/tools.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ limitations under the License.
2222
// other dependencies. It also makes things easier to install the tools in
2323
// environments that have slow networking or are completely disconnected.
2424

25-
package main
25+
package tools
2626

2727
import (
2828
_ "github.com/operator-framework/operator-sdk/cmd/operator-sdk"

0 commit comments

Comments
 (0)