Add cirrus vendor check

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
This commit is contained in:
Sascha Grunert 2019-07-16 13:37:52 +02:00
parent 465e9d18da
commit 323c2aeeab
No known key found for this signature in database
GPG Key ID: 8CE029DD1A866E52
1 changed files with 9 additions and 0 deletions

View File

@ -94,3 +94,12 @@ meta_task:
CIRRUS_CLONE_DEPTH: 1 # source not used
script: '/usr/local/bin/entrypoint.sh |& ${_TIMESTAMP}'
vendor_task:
container:
image: golang:1.12
modules_cache:
fingerprint_script: cat go.sum
folder: $GOPATH/pkg/mod
build_script: make vendor
test_script: hack/tree_status.sh