Skip to content

Commit 5f526d7

Browse files
authored
Run go-install in deps-tools in parallel (#31711)
`go install` is far too conservative in regards to parallel HTTP requests, so we can run the commands in parallel to achieve a speedup.
1 parent 7dec8de commit 5f526d7

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

Makefile

+13-12
Original file line numberDiff line numberDiff line change
@@ -858,18 +858,19 @@ deps-backend:
858858

859859
.PHONY: deps-tools
860860
deps-tools:
861-
$(GO) install $(AIR_PACKAGE)
862-
$(GO) install $(EDITORCONFIG_CHECKER_PACKAGE)
863-
$(GO) install $(GOFUMPT_PACKAGE)
864-
$(GO) install $(GOLANGCI_LINT_PACKAGE)
865-
$(GO) install $(GXZ_PACKAGE)
866-
$(GO) install $(MISSPELL_PACKAGE)
867-
$(GO) install $(SWAGGER_PACKAGE)
868-
$(GO) install $(XGO_PACKAGE)
869-
$(GO) install $(GO_LICENSES_PACKAGE)
870-
$(GO) install $(GOVULNCHECK_PACKAGE)
871-
$(GO) install $(ACTIONLINT_PACKAGE)
872-
$(GO) install $(GOPLS_PACKAGE)
861+
$(GO) install $(AIR_PACKAGE) & \
862+
$(GO) install $(EDITORCONFIG_CHECKER_PACKAGE) & \
863+
$(GO) install $(GOFUMPT_PACKAGE) & \
864+
$(GO) install $(GOLANGCI_LINT_PACKAGE) & \
865+
$(GO) install $(GXZ_PACKAGE) & \
866+
$(GO) install $(MISSPELL_PACKAGE) & \
867+
$(GO) install $(SWAGGER_PACKAGE) & \
868+
$(GO) install $(XGO_PACKAGE) & \
869+
$(GO) install $(GO_LICENSES_PACKAGE) & \
870+
$(GO) install $(GOVULNCHECK_PACKAGE) & \
871+
$(GO) install $(ACTIONLINT_PACKAGE) & \
872+
$(GO) install $(GOPLS_PACKAGE) & \
873+
wait
873874

874875
node_modules: package-lock.json
875876
npm install --no-save

0 commit comments

Comments
 (0)