Skip to content

Commit

Permalink
add gosec target that checks both openapi and tests directories
Browse files Browse the repository at this point in the history
  • Loading branch information
dikhan committed Jul 9, 2020
1 parent aaef93a commit 52e5167
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Expand Up @@ -48,6 +48,12 @@ lint:
@go get -u golang.org/x/lint/golint
@golint -set_exit_status $(TEST_PACKAGES)

# make gosec
gosec:
@echo "[INFO] Running gosec"
@gosec openapi/...
@gosec tests/...

# make test
test: fmt vet lint
@echo "[INFO] Testing $(TF_OPENAPI_PROVIDER_PLUGIN_NAME)"
Expand Down

0 comments on commit 52e5167

Please sign in to comment.