some more fixes
This commit is contained in:
		
							
								
								
									
										8
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								Makefile
									
									
									
									
									
								
							@@ -2,7 +2,7 @@
 | 
			
		||||
.PHONY: all generate clean test
 | 
			
		||||
 | 
			
		||||
# Variables
 | 
			
		||||
GOLANGCI_LINT_VERSION := v1.55.2 # Or your preferred version
 | 
			
		||||
GOLANGCI_LINT_VERSION := v1.55.2
 | 
			
		||||
 | 
			
		||||
all: generate test
 | 
			
		||||
 | 
			
		||||
@@ -18,7 +18,7 @@ clean:
 | 
			
		||||
 | 
			
		||||
test: generate
 | 
			
		||||
	@echo "Running tests..."
 | 
			
		||||
	@go test ./...
 | 
			
		||||
	@go test -count=1 ./...
 | 
			
		||||
 | 
			
		||||
lint:
 | 
			
		||||
	@echo "Running linter..."
 | 
			
		||||
@@ -27,7 +27,3 @@ lint:
 | 
			
		||||
		go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION); \
 | 
			
		||||
	fi
 | 
			
		||||
	@golangci-lint run
 | 
			
		||||
 | 
			
		||||
# Add to go.mod if not already present by go install
 | 
			
		||||
# go get google.golang.org/protobuf/cmd/protoc-gen-go
 | 
			
		||||
# go get google.golang.org/grpc/cmd/protoc-gen-go-grpc (if you plan to use gRPC services soon) 
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user