mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-03 12:50:47 +00:00
CI: static-checks: Improve markdown checker test
Only attempt to build the markdown checker if it doesn't already exist. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
parent
9d38f01c2f
commit
3ad43df946
@ -647,7 +647,8 @@ static_check_docs()
|
|||||||
# is necessary to guarantee that all docs are referenced.
|
# is necessary to guarantee that all docs are referenced.
|
||||||
md_docs_to_check="$all_docs"
|
md_docs_to_check="$all_docs"
|
||||||
|
|
||||||
(cd "${test_dir}" && make -C cmd/check-markdown)
|
command -v kata-check-markdown &>/dev/null ||\
|
||||||
|
(cd "${test_dir}" && make -C cmd/check-markdown)
|
||||||
|
|
||||||
command -v kata-check-markdown &>/dev/null || \
|
command -v kata-check-markdown &>/dev/null || \
|
||||||
die 'kata-check-markdown command not found. Ensure that "$GOPATH/bin" is in your $PATH.'
|
die 'kata-check-markdown command not found. Ensure that "$GOPATH/bin" is in your $PATH.'
|
||||||
|
Loading…
Reference in New Issue
Block a user