We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a07430 commit dda753dCopy full SHA for dda753d
Makefile
@@ -1,6 +1,7 @@
1
GOCMD = go
2
GOTEST = $(GOCMD) test
3
4
+# renovate: datasource=github-tags depName=golangci/golangci-lint
5
GOLANGCI_VERSION ?= v2.1.6
6
TOOLS_BIN := $(shell mkdir -p build/tools && realpath build/tools)
7
@@ -18,14 +19,6 @@ validate: validate-lint validate-dirty ## Run validation checks.
18
19
validate-lint: $(GOLANGCI)
20
$(GOLANGCI) run
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
-
29
validate-dirty:
30
ifneq ($(shell git status --porcelain --untracked-files=no),)
31
@echo worktree is dirty
0 commit comments