fix go.mod hashsum

This commit is contained in:
Denis Isaev
2020-05-05 17:17:09 +03:00
parent afc07fb790
commit 13e2c1f984
4 changed files with 6 additions and 3 deletions

View File

@ -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`
}