Skip to content

Commit fecf587

Browse files
committed
feat(ci): add linting to build and build-all-platforms target
Signed-off-by: Marc Nuri <[email protected]>
1 parent 4773558 commit fecf587

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ clean: ## Clean up all build artifacts
4747
rm -rf $(CLEAN_TARGETS)
4848

4949
.PHONY: build
50-
build: clean tidy format ## Build the project
50+
build: clean tidy format lint ## Build the project
5151
go build $(COMMON_BUILD_ARGS) -o $(BINARY_NAME) ./cmd/kubernetes-mcp-server
5252

5353

5454
.PHONY: build-all-platforms
55-
build-all-platforms: clean tidy format ## Build the project for all platforms
55+
build-all-platforms: clean tidy format lint ## Build the project for all platforms
5656
$(foreach os,$(OSES),$(foreach arch,$(ARCHS), \
5757
GOOS=$(os) GOARCH=$(arch) go build $(COMMON_BUILD_ARGS) -o $(BINARY_NAME)-$(os)-$(arch)$(if $(findstring windows,$(os)),.exe,) ./cmd/kubernetes-mcp-server; \
5858
))

0 commit comments

Comments
 (0)