Add 'gosec' to the static-checks

Run static security scanning tool 'gosec' while testing.

URL: https://github.com/securego/gosec
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos
2019-08-30 12:23:10 +02:00
committed by mergify[bot]
parent dd668e59f1
commit 8f133e03b8
3 changed files with 15 additions and 0 deletions

View File

@ -44,6 +44,7 @@ dep-check:
static-check:
./scripts/lint-go.sh
./scripts/lint-text.sh --require-all
./scripts/gosec.sh
func-test:
go test github.com/ceph/ceph-csi/e2e $(TESTOPTIONS)