Skip to content

Commit

Permalink
ci: Check vendor folder sync
Browse files Browse the repository at this point in the history
dep ensure -dry-run -no-vendor will check and show if vendor code is out
of sync with GOpkg files but always has a return code of 0. Switching it
to dep check will fail if Gopkg is not in sync with vendor.

Fixes: kata-containers#1794
Fixes: kata-containers#1733
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
  • Loading branch information
Ganesh Maharaj Mahalingam committed Jul 25, 2019
1 parent 3bcdea1 commit adfaab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/static-checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ static_check_vendor()
go get github.com/golang/dep/cmd/dep

# Check, but don't touch!
dep ensure -no-vendor -dry-run
dep check
}

static_check_xml()
Expand Down

0 comments on commit adfaab9

Please sign in to comment.