Implement caching on the CI (#5754)
Implement caching on the CI (#5754)

Use the new CacheBeta task to cache and restore the ccache
directory, which greatly improves build times.

The cache is saved only if the job ends with success.

A pipeline variable CacheVersion present in the cache key
is used to invalidate all old caches if such a need arises.
hackgnar/osquery,hackgnar/osquery,hackgnar/osquery