mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-10-07 11:57:30 +00:00
fix go.mod hashsum
This commit is contained in:
4 files changed
+6
-3
No files matched your search
+1
-1
@@ -42,7 +42,7 @@ async function buildCacheKeys(): Promise<string[]> {
|
||||
|
||||
if (await pathExists(`go.mod`)) {
|
||||
// Add checksum to key to invalidate a cache when dependencies change.
|
||||
cacheKey += await checksumFile(`cache-key`, `go.mod`)
|
||||
cacheKey += await checksumFile(`sha1`, `go.mod`)
|
||||
} else {
|
||||
cacheKey += `nogomod`
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user