diff --git a/scripts/gh-build-crate.sh b/scripts/gh-build-crate.sh index 85d54c08..74011b95 100755 --- a/scripts/gh-build-crate.sh +++ b/scripts/gh-build-crate.sh @@ -34,6 +34,15 @@ alr index --del community || true # Show environment for the record env +# Check index for obsolescent features +echo STRICT MODE index checks +alr index --check + +# Check no warning during index loading. +# Such a warning would also happen during `alr printenv`, breaking it. +# TODO: remove after old license deprecation. +alr search --crates 2>&1 | grep "Warning:" && exit 1 + # Test crate for file in $CHANGES; do