Dry-firing most center fire bolt action rifles are perfectly safe, though the dry fire exerts some slight wear and tear on some moving parts, it does not harm most firearms.
While the dry firing guns cannot damage them or wear them out it is recommended to use snap-caps also known as “puffer” cartridges that prevent dropping the firing pin on an empty chamber. These are ideal when checking or adjusting the trigger pull or for releasing the tension on the hammer springs when storing guns.