The past tense of shake a leg is shook a leg.
The third-person singular simple present indicative form of shake a leg is shakes a leg.
The present participle of shake a leg is shaking a leg.
The past participle of shake a leg is shaken a leg.