is fast a verb?

Fast is a verb in the sense of not eating. Example: I had to fast for 12 hours before having the blood test.

However, fast is usually an adjective or adverb. Check this dictionary definition for the meaning and part of speech that fits your sentence.

http://dictionary.reference.com/browse/fast