Skip to content

Commit

Permalink
Fail 'deps' if there is warning from 'dep ensure'
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov committed Oct 22, 2019
1 parent 90b62b3 commit 7273e30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
curl --fail https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep version
dep status
dep ensure -update -dry-run
dep ensure |& tee ensure.log
test `grep -ci "Warning" ensure.log` -eq 0
test:
Expand Down

0 comments on commit 7273e30

Please sign in to comment.