add validate step to build