Added gosec scan (#311)

This commit is contained in:
Prabhu Subramanian authored and GitHub committed 2020-04-05 09:38:10 -04:00
1 parent 9db91442b3
commit af0df6ea2c
2 files changed
+5

No files matched your search

+1
View File
@@ -5,3 +5,4 @@ services:
- docker
script:
- make test
- make security-scan
+4
View File
@@ -27,6 +27,10 @@ build:
go mod tidy
go build $(LDFLAGS)
security-scan:
go get github.com/securego/gosec/cmd/gosec
gosec -no-fail ./...
release-builds:
rm -rf build
mkdir build