Recommendation:
Do not use WD-40 on guns. Under certain circumstances it can mildew and eat the gun finish. It also becomes sticky.
For lubing a bolt action, a little gun grease or Lubriplate works fine.
For cleaning and general preservation, I prefer something called G96 Gun Cleaner (not the scrubber), which cleans and leaves a film of preserving oil.
Jim