-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Split the install-tools into test/build groups (#4878)
Resolves #4846 Refactor CI installation process: split install-tools into mockery/testing/build sub-targets, divide install-ci into install-test-tools and install-build-tools --------- Signed-off-by: MeenuyD <[email protected]>
- Loading branch information
Showing
3 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -500,15 +500,21 @@ changelog: | |
draft-release: | ||
./scripts/draft-release.py | ||
|
||
.PHONY: install-tools | ||
install-tools: | ||
$(GO) install github.com/vektra/mockery/[email protected] | ||
.PHONY: install-test-tools | ||
install-test-tools: | ||
$(GO) install github.com/golangci/golangci-lint/cmd/[email protected] | ||
$(GO) install mvdan.cc/gofumpt@latest | ||
|
||
.PHONY: install-build-tools | ||
install-build-tools: | ||
$(GO) install github.com/josephspurrier/goversioninfo/cmd/[email protected] | ||
|
||
.PHONY: install-tools | ||
install-tools: install-test-tools install-build-tools | ||
$(GO) install github.com/vektra/mockery/[email protected] | ||
|
||
.PHONY: install-ci | ||
install-ci: install-tools | ||
install-ci: install-test-tools install-build-tools | ||
|
||
.PHONY: test-ci | ||
test-ci: GOTEST := $(GOTEST_QUIET) | ||
|