The star formation activity in cosmic voids