Skip to content

Commit d237249

Browse files
committed
Update Makefile
1 parent ca16e02 commit d237249

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ build: ## Build a command to quickly check compiles.
88

99
.PHONY: check
1010
check: lint build test ## Runs all necessary code checks.
11+
@go mod tidy
1112

1213
.PHONY: test
1314
test: ## Run all tests.
@@ -30,6 +31,7 @@ test-env-down: ## Down and cleanup test environment.
3031
lint: tools ## Check the project with lint.
3132
@golangci-lint run --fix ./...
3233

34+
.PHONY: tools
3335
tools: ## Install all needed tools, e.g.
3436
@go install -v github.com/golangci/golangci-lint/cmd/[email protected]
3537

0 commit comments

Comments
 (0)