removed vendoring in go-test, linter is now compiled on execution
This commit is contained in:
parent
2dfb04798d
commit
dc1fea7ae2
1 changed files with 3 additions and 6 deletions
9
Makefile
9
Makefile
|
|
@ -20,16 +20,13 @@ build:
|
|||
clean: ## Clean up build artifacts
|
||||
@rm -rf ./bin ./build ./release
|
||||
|
||||
test: install-lint-deps verify go-test
|
||||
|
||||
install-lint-deps:
|
||||
@$(GO) install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.63.4
|
||||
test: verify go-test
|
||||
|
||||
lint:
|
||||
@golangci-lint run --timeout=8m --build-tags testing
|
||||
@go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.63.4 run --timeout=8m --build-tags testing ./...
|
||||
|
||||
go-test:
|
||||
@$(GO) test -race -mod=vendor -tags testing -v $(TEST_ARGS) -timeout=15m -parallel=4 -count=1 ./...
|
||||
@$(GO) test -race -tags testing -v $(TEST_ARGS) -timeout=15m -parallel=4 -count=1 ./...
|
||||
|
||||
fmt:
|
||||
@$(GO) fmt $$(go list ./...)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue