From f176472bd109277dc295e9de905c5efdae2ccce6 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Thu, 22 Aug 2024 01:54:23 +0700 Subject: [PATCH] chore: add gosec --- scripts/go.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/go.sh b/scripts/go.sh index e1de0ea..c72e4a8 100755 --- a/scripts/go.sh +++ b/scripts/go.sh @@ -15,11 +15,12 @@ go install github.com/antonmedv/fx@latest go install golang.org/x/telemetry/cmd/gotelemetry@latest gotelemetry on -go install golang.org/x/vuln/cmd/govulncheck@latest -go install golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment@latest -go install github.com/dkorunic/betteralign/cmd/betteralign@latest go install mvdan.cc/gofumpt@latest go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest +go install golang.org/x/vuln/cmd/govulncheck@latest +go install github.com/securego/gosec/v2/cmd/gosec@latest +go install golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment@latest +go install github.com/dkorunic/betteralign/cmd/betteralign@latest go install github.com/maruel/panicparse/v2@latest go install gotest.tools/gotestsum@latest go install github.com/bufbuild/buf/cmd/buf@latest