Skip to content

Commit dda753d

Browse files
committed
build: Configure renovate for golangci-lint
Signed-off-by: Paulo Gomes <[email protected]>
1 parent 6a07430 commit dda753d

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Makefile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
GOCMD = go
22
GOTEST = $(GOCMD) test
33

4+
# renovate: datasource=github-tags depName=golangci/golangci-lint
45
GOLANGCI_VERSION ?= v2.1.6
56
TOOLS_BIN := $(shell mkdir -p build/tools && realpath build/tools)
67

@@ -18,14 +19,6 @@ validate: validate-lint validate-dirty ## Run validation checks.
1819
validate-lint: $(GOLANGCI)
1920
$(GOLANGCI) run
2021

21-
define go-install-tool
22-
@[ -f $(1) ] || { \
23-
set -e ;\
24-
echo "Downloading $(2)" ;\
25-
GOBIN=$(TOOLS_BIN) go install $(2) ;\
26-
}
27-
endef
28-
2922
validate-dirty:
3023
ifneq ($(shell git status --porcelain --untracked-files=no),)
3124
@echo worktree is dirty

0 commit comments

Comments
 (0)