Govt warns Islamists of military action