I have a job that operates on files from a shared artifact by a previous stage. The job generates new files (ruby -> Gemfile.lock).
I would assume every build starts with a clean working dir, but it looks like the generated files from the previous build are still there. How can I ensure that every build of this job automatically starts in a clean state?