diff options
author | silverwind | 2022-11-21 03:39:00 +0100 |
---|---|---|
committer | GitHub | 2022-11-21 10:39:00 +0800 |
commit | 9380bb6d0c7fb8d2652d19a9aec87994a6e99f8c (patch) | |
tree | 854eff11ec0f2c82a6c2682ede235887aae51988 /Makefile | |
parent | 43aafc5ba189efe9750326b21ee5a7c827929b75 (diff) |
Consolidate security-check into checks-backend (#21882)
Also, run it via exact version instead of relying on global binary.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -333,7 +333,7 @@ checks: checks-frontend checks-backend checks-frontend: lockfile-check svg-check .PHONY: checks-backend -checks-backend: tidy-check swagger-check fmt-check misspell-check swagger-validate +checks-backend: tidy-check swagger-check fmt-check misspell-check swagger-validate security-check .PHONY: lint lint: lint-frontend lint-backend @@ -745,7 +745,7 @@ generate-go: $(TAGS_PREREQ) .PHONY: security-check security-check: - govulncheck -v ./... + go run $(GOVULNCHECK_PACKAGE) -v ./... $(EXECUTABLE): $(GO_SOURCES) $(TAGS_PREREQ) CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@ |