This is a braindead opinion. Why would anyone work as hard as possible when there are 0 incentives to do so? When at any moment you could be fired without warning in a mass layoff and when even the highest performers only get 5-10% raises per year when jumping ship gives you 20%+ . You want good work then create the incentives for it, currently there are none.
It's a game where you can do the minimum or more and if you do more your boss can pay the minimum or more. If you do the minimumy your boss pays the minimum, it's a zero sum game, if you do more and your boss the minimum, again zero sum because you lost energy and he won more from you but if you both do more then it's a net positive. So the optimal strategy is to do more.
Then like the cops in the prisoners game you are tricking yourself at playing the zero sum game because of trust issues.
It seems like the optimal strategy would be to do the minimum and then job hop since the pay increase is greater and getting a raise for working hard is not certain.
I personally have not seen much correlation between pay working hard and getting pay raises, it seems about as likely as getting one for doing the minimum, and the effort to dollars ratio is usually not worth while. I don't want to put in 50% more effort only to get a 5-10% raise. Plus, as stated before, switching jobs results in much bigger pay increases making the raises irrelevant.