diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-01-18 19:10:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-18 19:10:55 +0800 |
commit | 632fa7914a2e6dbf1812581e0e769c93189771ca (patch) | |
tree | e8b415b01de87a6457a65ba191dc90f3ab8565e0 /.circleci | |
parent | 9ff8f0cdc45a7b294ae71a28e7e205bb67e559cb (diff) | |
download | dexon-consensus-632fa7914a2e6dbf1812581e0e769c93189771ca.tar dexon-consensus-632fa7914a2e6dbf1812581e0e769c93189771ca.tar.gz dexon-consensus-632fa7914a2e6dbf1812581e0e769c93189771ca.tar.bz2 dexon-consensus-632fa7914a2e6dbf1812581e0e769c93189771ca.tar.lz dexon-consensus-632fa7914a2e6dbf1812581e0e769c93189771ca.tar.xz dexon-consensus-632fa7914a2e6dbf1812581e0e769c93189771ca.tar.zst dexon-consensus-632fa7914a2e6dbf1812581e0e769c93189771ca.zip |
misc: Add gosec to check security issues (#424)
* Add gosec to tools
* Run security check to ci
* Fix secrity issues
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 72d9f53..69b0db0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -66,6 +66,12 @@ jobs: - run: make lint - run: make vet + security: + executor: go1_11 + steps: + - init_workspace + - run: make check-security + unit_test: executor: go1_11 environment: @@ -99,11 +105,16 @@ workflows: - lint: requires: - dep + - security: + requires: + - dep - unit_test: requires: + - security - lint - integration_test: requires: + - security - lint - build: requires: |