What points you suggest to decrease duration time of Gitlab CI?

Hi Folks,
I’m using Gitlab Ci for a Phoenix project but there’re some commands before running mix test command, at the moment every job takes about 4 minutes to get dependencies, compile the application and run test cases.

Is there any specific point to reduce this time?

You can try to cache your project dependencies Caching in GitLab CI/CD | GitLab Docs

Thanks @mkasztelnik, It decreased about 2 minutes.