The covariant W3 action