Skip to content

Commit

Permalink
add verify to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
rphillips committed Aug 26, 2019
1 parent e0b1635 commit 0746e76
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,14 @@ pack-releases:
.PHONY: release
release:
goreleaser release --rm-dist

.PHONY: verify
verify: install-tools
golangci-lint run
gosec -severity high --confidence medium -exclude G204 -quiet ./...


.PHONY: install-tools
install-tools:
cd $(shell mktemp -d) && GO111MODULE=on go get github.com/securego/gosec/cmd/gosec@4b59c948083cd711b6a8aac8f32721b164899f57
cd $(shell mktemp -d) && GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.17.1

0 comments on commit 0746e76

Please sign in to comment.