aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-01-18 19:10:55 +0800
committerGitHub <noreply@github.com>2019-01-18 19:10:55 +0800
commit632fa7914a2e6dbf1812581e0e769c93189771ca (patch)
treee8b415b01de87a6457a65ba191dc90f3ab8565e0 /bin
parent9ff8f0cdc45a7b294ae71a28e7e205bb67e559cb (diff)
downloaddexon-consensus-632fa7914a2e6dbf1812581e0e769c93189771ca.tar
dexon-consensus-632fa7914a2e6dbf1812581e0e769c93189771ca.tar.gz
dexon-consensus-632fa7914a2e6dbf1812581e0e769c93189771ca.tar.bz2
dexon-consensus-632fa7914a2e6dbf1812581e0e769c93189771ca.tar.lz
dexon-consensus-632fa7914a2e6dbf1812581e0e769c93189771ca.tar.xz
dexon-consensus-632fa7914a2e6dbf1812581e0e769c93189771ca.tar.zst
dexon-consensus-632fa7914a2e6dbf1812581e0e769c93189771ca.zip
misc: Add gosec to check security issues (#424)
* Add gosec to tools * Run security check to ci * Fix secrity issues
Diffstat (limited to 'bin')
-rwxr-xr-xbin/install_tools.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/install_tools.sh b/bin/install_tools.sh
index ca0a04b..bef77f7 100755
--- a/bin/install_tools.sh
+++ b/bin/install_tools.sh
@@ -6,3 +6,6 @@ fi
if ! which golint >/dev/null 2>&1; then
go get -u golang.org/x/lint/golint
fi
+if ! which gosec >/dev/null 2>&1; then
+ go get github.com/securego/gosec/cmd/gosec/...
+fi