Skip to content

Commit

Permalink
chore(ci) fix "make tidy" (#2818)
Browse files Browse the repository at this point in the history
This fixes #2088.

Signed-off-by: James Peach <james.peach@konghq.com>
  • Loading branch information
jpeach authored Sep 22, 2021
1 parent 7756bb3 commit e48d37a
Show file tree
Hide file tree
Showing 3 changed files with 653 additions and 5 deletions.
7 changes: 2 additions & 5 deletions mk/check.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ fmt/proto: ## Dev: Run clang-format on .proto files
.PHONY: tidy
tidy:
@TOP=$(shell pwd) && \
for m in . ./api/ ; do \
cd $$m ; \
rm go.sum ; \
go mod tidy ; \
cd $$TOP; \
for m in $$(find . -name go.mod) ; do \
( cd $$(dirname $$m) && go mod tidy ) ; \
done

.PHONY: golangci-lint
Expand Down
6 changes: 6 additions & 0 deletions vendored/github.com/prometheus/prometheus/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
module github.com/prometheus/prometheus

go 1.12

require (
github.com/go-kit/kit v0.11.0
github.com/prometheus/client_golang v1.11.0
github.com/prometheus/common v0.30.0
)
Loading

0 comments on commit e48d37a

Please sign in to comment.