I know lubrication can be a loud and opinionated topic, but I am going to recommend using a semi fluid grease on the slide rails and where the barrel touches the slide. And underneath the slide too.
Since semi fluid greases are not sold at Walmart or Automotive store, Americans are unfamiliar with them. Most have been exposed to semi fluid greases during a military tour, when they used LSA. LSA: Lubricant, semi fluid, automatic. Military LSA is great stuff, but can be hard to find, and expensive. It is also old lubricant technology. Has a tendency to separate, you have to shake the bottle before squeezing it out.
I have tested several commercial semi fluid greases, and this one has been the most successful:
Farm Oyl Fluid Grease.
View attachment 1117619
It is thicker than LSA, about a warm honey thickness. It does not have a "gear oil" smell. Most of the semi fluids I tried are made for gear boxes and smell like gear box oil, which I find objectionable. Since this stuff is black, I think it may have molybdenum disulfide suspended in the grease. For me, this semi fluid is not drying out, such as I have experienced with oils and LSA. LSA will flow out of the rails, and that gets messy in storage. This does not. Its surface adhesion has been excellent during shooting sessions. I tried other LSA's, this is the best to date.