From 4743e78ef090d95dcb6b91ac12171de1386e73b5 Mon Sep 17 00:00:00 2001 From: Fenix Date: Thu, 6 Oct 2022 22:10:20 +0800 Subject: [PATCH] make it to go install for nancy (#233) Change-Id: I72f57bf81c73201e4b45f71bddcd90bba96727f4 Co-authored-by: zhuzhenfeng.code --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8e401009..57bb4915 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ tools: ${BIN} install github.com/jondot/goweight@latest ${BIN} install github.com/golangci/golangci-lint/cmd/golangci-lint@latest ${BIN} get -t -u golang.org/x/tools/cmd/cover - ${BIN} get -t -u github.com/sonatype-nexus-community/nancy@latest + ${BIN} install github.com/sonatype-nexus-community/nancy@latest go mod tidy lint: @@ -35,11 +35,9 @@ lint-fix: golangci-lint run --timeout 60s --max-same-issues 50 --fix ./... audit: tools - ${BIN} mod tidy ${BIN} list -json -m all | nancy sleuth outdated: tools - ${BIN} mod tidy ${BIN} list -u -m -json all | go-mod-outdated -update -direct weight: tools