From 416685ba3f826bb765859f980134c5853e77ff2f Mon Sep 17 00:00:00 2001 From: Cuong Manh Le Date: Wed, 23 Oct 2019 02:44:07 +0700 Subject: [PATCH] ci: make dep ensure false on warning --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 45db2fc95e9..7a239871ecd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,7 +17,7 @@ jobs: curl --fail https://raw.githubusercontent.com/golang/dep/master/install.sh | sh dep version dep status - dep ensure -update -dry-run + case $(dep ensure 2>&1 | head -n 1) in Warning*) false ;; esac dep check