refactored ci to use inheritance

1 job for 4-update-gitlab-ci-file-to-use-inherited-jobs-from-main
in 1 minute and 33 seconds, using 0 compute credits, and was queued for 1 minute and 27 seconds