The action shall have precedence over all other actions, except criminal proceedings, election contests, and hearings on injunctions.