You should not get fired for interviewing for another job. In addition, you are not obligated to tell your employer you are having an interview, you can say you are taking a personal day but you don’t actually have to go into detail. However, in the US your employer can actually fire you if they find out you are interviewing for another job.