GetUsedCacheKeys returns the set of cache keys (in "repo@version" format) that were successfully resolved from the cache or written to the cache during this run. These represent the action pins actually referenced by the compiled workflows.
()
| 35 | // were successfully resolved from the cache or written to the cache during this run. |
| 36 | // These represent the action pins actually referenced by the compiled workflows. |
| 37 | func (r *ActionResolver) GetUsedCacheKeys() map[string]bool { |
| 38 | keys := make(map[string]bool, len(r.usedCacheKeys)) |
| 39 | maps.Copy(keys, r.usedCacheKeys) |
| 40 | return keys |
| 41 | } |
| 42 | |
| 43 | // MarkCacheKeyAsUsed explicitly marks a cache key as used during this compilation run. |
| 44 | // This is useful for compiler-generated actions that aren't resolved through ResolveSHA. |
no outgoing calls