He prepared for the big day by sharing a shot of himself in his tuxedo to social media, writing, “What do you guys think of this look? Getting ready for a big night coming up, plus I’ll be able to wear this when I eventually become a waiter.”

A post shared by Paige O'Brien (@paigeobrienn) on May 10, 2017 at 10:31am PDT

Peck has been hard at work recently, voicing a character in the upcoming film Gnome Alone and filming the independent movie Locating Silver Lake alongside American Horror Story‘s Finn Wittrock. In addition to his four seasons on Drake & Josh (which he costarred on with Drake Bell and Miranda Cosgrove), Peck has previously appeared in the Nickelodeon sketch show The Amanda Show, the Nickelodeon Movie Snow Day, the films The Wedding Ringer and Max Keeble's Big Move, and voiced characters in Nickelodeon's Teenage Mutant Ninja Turtles series, The Angry Birds Movie and the Ice Age franchise.

When he’s not working as an actor, he stays busy as a popular social media personality (with over 4.1 million followers) — often sharing original comedy videos as well as adorable selfies with O’Brien.

Previously, Peck spoke with PEOPLE about his child actor days, explaining how grateful he was for the experience and the tools he learned.

“When you’re a cute kid and maybe have some natural talent, it seems quite easy,” he said of his chosen career. “But this takes an incredible amount of work and focus and dedication. You have to weather the times when you’re not working. There’s a lot of rejection. I understood that early on. I never let any of that deter me from my main focus – my passion.”