'Good' rating for 'caring and friendly' Boroughbridge school