Skip to content

ci: add cache key based on go.mod file

feistel requested to merge feistel/gitlab-pages:ci/cache-key-files into master

What does this MR do?

See https://docs.gitlab.com/ee/ci/yaml/index.html#cachekeyfiles

Add a cache key based on the go.mod file to the download deps job to reuse some caches and rebuild it less often.

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

TODO

Merge request reports