St Johnstone boss Steve Lomas praised the work ethic of his players after the 1-0 win over St Mirren.