Skip to content

Commit

Permalink
make it to go install for nancy (#233)
Browse files Browse the repository at this point in the history
Change-Id: I72f57bf81c73201e4b45f71bddcd90bba96727f4

Co-authored-by: zhuzhenfeng.code <zhuzhenfeng.code@bytedance.com>
  • Loading branch information
gofenix and zhuzhenfeng.code committed Oct 6, 2022
1 parent 835fc01 commit 4743e78
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 4743e78

Please sign in to comment.