mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-05 05:32:59 +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,6 +647,7 @@ 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"
|
||||||
|
|
||||||
|
command -v kata-check-markdown &>/dev/null ||\
|
||||||
(cd "${test_dir}" && make -C cmd/check-markdown)
|
(cd "${test_dir}" && make -C cmd/check-markdown)
|
||||||
|
|
||||||
command -v kata-check-markdown &>/dev/null || \
|
command -v kata-check-markdown &>/dev/null || \
|
||||||
|
Loading…
Reference in New Issue
Block a user