Skip to content

Commit 966ece4

Browse files
committed
test: add go vet to CI
Signed-off-by: cryo <[email protected]>
1 parent a46820b commit 966ece4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ run-envoy:
5555
@echo "Starting Envoy..."
5656
func-e run --config-path config/envoy.yaml --component-log-level "ext_proc:trace,router:trace,http:trace"
5757

58+
# Run go vet for all Go modules
59+
vet:
60+
@echo "Running go vet..."
61+
@cd candle-binding && go vet ./...
62+
@cd src/semantic-router && go vet ./...
63+
5864
# Test the Rust library
5965
test-binding: rust
6066
@echo "Running Go tests with static library..."
@@ -86,7 +92,7 @@ test-semantic-router: build-router
8692
cd src/semantic-router && CGO_ENABLED=1 go test -v ./...
8793

8894
# Test the Rust library and the Go binding
89-
test: download-models test-binding test-semantic-router
95+
test: vet download-models test-binding test-semantic-router
9096

9197
# Clean built artifacts
9298
clean:

0 commit comments

Comments
 (0)