Update common Prometheus files (#839)
authorPrometheusBot <prometheus-team@googlegroups.com>
Tue, 2 Nov 2021 22:41:17 +0000 (23:41 +0100)
committerGitHub <noreply@github.com>
Tue, 2 Nov 2021 22:41:17 +0000 (23:41 +0100)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
.github/workflows/golangci-lint.yml
Makefile.common

index 431fef711faa724d75a40f8eae26274474c399d1..f96c76a659f353d1ec100948f5ba0c1943dcfc5b 100644 (file)
@@ -7,6 +7,7 @@ on:
       - "**.go"
       - "scripts/errcheck_excludes.txt"
       - ".github/workflows/golangci-lint.yml"
+      - ".golangci.yml"
   pull_request:
     paths:
       - "go.sum"
@@ -14,6 +15,7 @@ on:
       - "**.go"
       - "scripts/errcheck_excludes.txt"
       - ".github/workflows/golangci-lint.yml"
+      - ".golangci.yml"
 
 jobs:
   golangci:
index 99e8f9f1b3279ff557006c4de9059a2e578863fe..ed7d1826e4ea4654c89655f672e1acb6ba70195c 100644 (file)
@@ -160,7 +160,7 @@ endif
 update-go-deps:
        @echo ">> updating Go dependencies"
        @for m in $$($(GO) list -mod=readonly -m -f '{{ if and (not .Indirect) (not .Main)}}{{.Path}}{{end}}' all); do \
-               $(GO) get $$m; \
+               $(GO) get -d $$m; \
        done
        GO111MODULE=$(GO111MODULE) $(GO) mod tidy
 ifneq (,$(wildcard vendor))