FormatCacheKey generates a cache key for action resolution. Example: "actions/checkout@v4"
(repo, version string)
| 240 | // FormatCacheKey generates a cache key for action resolution. |
| 241 | // Example: "actions/checkout@v4" |
| 242 | func FormatCacheKey(repo, version string) string { |
| 243 | return repo + "@" + version |
| 244 | } |
| 245 | |
| 246 | // ExtractRepo extracts the action repository from a uses string. |
| 247 | // Examples: "actions/checkout@v5" -> "actions/checkout" |
no outgoing calls