Either check/call or bet/call.
Villain will fold if he is behind and call if he is ahead, so your shove has very little value. You also priced out a worse flushdraw, which is bad.
Your line on the turn is perfect with something like 3d4d, where you WANT to price out a flushdraw and get top pair to fold, while still having very decent equity against an overpair/set.