refactored ci to use inheritance

1 job for 4-update-gitlab-ci-file-to-use-inherited-jobs-from-main
in 36 seconds, using 0 compute credits, and was queued for 2 minutes and 10 seconds