Move checkout and pre-build into its own job