diff --git a/scripts/check.sh b/scripts/check.sh index 25b65e0..1feda21 100644 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -19,11 +19,6 @@ if ((${#go_files[@]})); then fi fi -echo "[quality] structure hygiene" -if ! python3 "${ROOT_DIR}/scripts/structure_hygiene_check.py" --root "${ROOT_DIR}"; then - overall_rc=1 -fi - echo "[quality] doc hygiene" printf 'failed\n' > "${BUILD_DIR}/docs-naming.status" if python3 "${ROOT_DIR}/scripts/doc_hygiene_check.py" \ @@ -34,6 +29,11 @@ else overall_rc=1 fi +echo "[quality] structure hygiene" +if ! python3 "${ROOT_DIR}/scripts/structure_hygiene_check.py" --root "${ROOT_DIR}"; then + overall_rc=1 +fi + echo "[quality] LOC hygiene" if ! python3 "${ROOT_DIR}/scripts/loc_hygiene_check.py" \ --root "${ROOT_DIR}" \