Attire for boyfriend's sister's graduation?

Olivia
My boyfriend's sister graduates from high school tomorrow. I don't have any dressy flats so I'm stuck with heels. The heels are about 4 inches. Is that too much? Should I wear a dress or just some jeans and a nice shirt? I want to look formal but not too over the top. Thank you.