mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-04-16 00:35:45 +00:00
parent
3395f777a4
commit
8870cfbcd4
5 changed files with 3 additions and 53 deletions
|
|
@ -83,8 +83,6 @@ export async function restoreCache(): Promise<void> {
|
|||
}
|
||||
// Store the matched cache key
|
||||
utils.setCacheState(cacheKey)
|
||||
const isExactKeyMatch = utils.isExactKeyMatch(primaryKey, cacheKey)
|
||||
utils.setCacheHitOutput(isExactKeyMatch)
|
||||
core.info(`Restored cache for golangci-lint from key '${primaryKey}' in ${Date.now() - startedAt}ms`)
|
||||
} catch (error) {
|
||||
if (error.name === cache.ValidationError.name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue