The$\DeclareMathOperator{\InjRad}{InjRad}$ The compactness is irrelevant, it is proved in 5.4 of "Riemannsche Geometrie im Grossen" by Detlef Gromoll, Wilhelm Klingenberg, and Wolfgang Meyer.
But let me show that if it is true for compact manifolds, then the same is true for complete ones.
If $R<\mathrm{InjRad}_p$$R<\InjRad_p$, then one can construct a smooth metric on a sphere with an isometric copy of $B_R(p)$ inside.
If there is a sequence of points $x_n\to x$ such that $$\lim\ \mathrm{InjRad}_{x_n}< \mathrm{InjRad}_x,$$$$\lim \InjRad_{x_n}< \InjRad_x,$$ apply the above construction for $R$ slightly smaller than $\mathrm{InjRad}_x$$\InjRad_x$. You get a compact manifold with non-continuous InjRad.
If there is a sequence of points $x_n\to x$ such that $$\lim\ \mathrm{InjRad}_{x_n}> \mathrm{InjRad}_x$$$$\lim\ \InjRad_{x_n}> \InjRad_x$$ then apply the above construction for $p=x_n$ for large enough $n$ and $R>\mathrm{InjRad}_x$$R>\InjRad_x$. That leads to a contradiction again.