1
0
mirror of https://github.com/golangci/golangci-lint-action.git synced 2026-03-17 06:34:53 +07:00

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

2
dist/run/index.js vendored
View File

@@ -27916,7 +27916,7 @@ function buildCacheKeys() {
keys.push(cacheKey);
if (yield pathExists(`go.mod`)) {
// Add checksum to key to invalidate a cache when dependencies change.
cacheKey += yield checksumFile(`cache-key`, `go.mod`);
cacheKey += yield checksumFile(`sha1`, `go.mod`);
}
else {
cacheKey += `nogomod`;