From 8dd049da4b48388ef6ee6d3815825ea442315963 Mon Sep 17 00:00:00 2001 From: Bernd Kiefer Date: Wed, 15 Aug 2018 11:27:23 +0200 Subject: [PATCH] Replace gas with gosec (#5) --- .travis.yml | 2 +- tools/elasticlicense/Makefile | 2 +- tools/elasticsnapshot/Makefile | 2 +- tools/elastictemplate/Makefile | 2 +- tools/elasticwatcher/Makefile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 98327d7..0e37d3e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ matrix: - tip install: - go get -u github.com/golang/lint/golint - - go get github.com/GoASTScanner/gas/cmd/gas/... + - go get github.com/securego/gosec/cmd/gosec/... - go get -u github.com/Masterminds/glide - go get -u github.com/onsi/ginkgo/ginkgo - go get -u github.com/onsi/gomega diff --git a/tools/elasticlicense/Makefile b/tools/elasticlicense/Makefile index 4167e25..5571d97 100644 --- a/tools/elasticlicense/Makefile +++ b/tools/elasticlicense/Makefile @@ -12,7 +12,7 @@ test: bootstrap test -z '$(FMT_CMD)' go vet $(go list ./... | grep -v /vendor/) golint -set_exit_status $(shell go list ./... | grep -v vendor) - gas ./... + gosec ./... ginkgo -r -v bootstrap: glide install diff --git a/tools/elasticsnapshot/Makefile b/tools/elasticsnapshot/Makefile index 55726fb..b0b6374 100644 --- a/tools/elasticsnapshot/Makefile +++ b/tools/elasticsnapshot/Makefile @@ -12,7 +12,7 @@ test: bootstrap test -z '$(FMT_CMD)' go vet $(go list ./... | grep -v /vendor/) golint -set_exit_status $(shell go list ./... | grep -v vendor) - gas ./... + gosec ./... ginkgo -r -v bootstrap: glide install diff --git a/tools/elastictemplate/Makefile b/tools/elastictemplate/Makefile index 083a01c..5c03daa 100644 --- a/tools/elastictemplate/Makefile +++ b/tools/elastictemplate/Makefile @@ -12,7 +12,7 @@ test: bootstrap test -z '$(FMT_CMD)' go vet $(go list ./... | grep -v /vendor/) golint -set_exit_status $(shell go list ./... | grep -v vendor) - gas ./... + gosec ./... ginkgo -r -v bootstrap: glide install diff --git a/tools/elasticwatcher/Makefile b/tools/elasticwatcher/Makefile index d30dfb6..96c7152 100644 --- a/tools/elasticwatcher/Makefile +++ b/tools/elasticwatcher/Makefile @@ -12,7 +12,7 @@ test: bootstrap test -z '$(FMT_CMD)' go vet $(go list ./... | grep -v /vendor/) golint -set_exit_status $(shell go list ./... | grep -v vendor) - gas ./... + gosec ./... ginkgo -r -v bootstrap: glide install