You can use a part-skim ricotta. Just know it will be a bit of a drier cake if you don't use whole milk. The fat content in the ricotta is what ensures the cake is nice and moist.