Ideal inductor in DC circuit
From V = L di/dt

di/dt = V/L

So the current change at a constant rate of V/L.

This change is linear.

di = V/L * dt

Take antiderivative(Integral) on both sides

i = V/L * t

this equation tells you what is the value of current at any time.