Skip to content

Commit

Permalink
Install gosec from vendor and pin to 1.3.0 (jaegertracing#1502)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <ys@uber.com>
  • Loading branch information
yurishkuro authored Apr 26, 2019
1 parent f86da0a commit 76c0164
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 14 deletions.
74 changes: 64 additions & 10 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,17 @@
# unused-packages = true

required = [
"github.com/securego/gosec/cmd/gosec",
"github.com/golang/protobuf/protoc-gen-go",
"github.com/gogo/protobuf/protoc-gen-gogo",
"github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway",
"github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger"
]

[[constraint]]
name = "github.com/securego/gosec"
version = "1.3.0"

[[constraint]]
name = "github.com/apache/thrift"
version = "=0.9.3"
Expand Down Expand Up @@ -124,15 +129,12 @@ required = [
unused-packages = true
[[prune.project]]
name = "github.com/gogo/protobuf"
non-go = false
unused-packages = false
[[prune.project]]
name = "github.com/grpc-ecosystem/grpc-gateway"
non-go = false
unused-packages = false
[[prune.project]]
name = "github.com/gogo/googleapis"
non-go = false
unused-packages = false

[[constraint]]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,9 @@ install-tools:
go get -u golang.org/x/tools/cmd/cover
go get -u golang.org/x/lint/golint
go get -u github.com/sectioneight/md-to-godoc
go get -u github.com/securego/gosec/cmd/gosec/...
go get -u honnef.co/go/tools/cmd/gosimple
go get -u github.com/mjibson/esc
go install ./vendor/github.com/securego/gosec/cmd/gosec/

.PHONY: install-ci
install-ci: install install-tools
Expand Down

0 comments on commit 76c0164

Please sign in to comment.