ci: disable cache for jobs that don't use it

What does this MR do?

The code_quality and check mocks jobs don't actually use the cache but they waste time downloading the cache artifact.

This MR disable cache for the code_quality and check mocks jobs.

This is part of an effort to reduce CI minutes consumption in GitLab products

TODO

Merge request reports

Loading