File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -27904,7 +27904,7 @@ function buildCacheKeys() {
27904
27904
keys.push(cacheKey);
27905
27905
if (yield pathExists(`go.mod`)) {
27906
27906
// Add checksum to key to invalidate a cache when dependencies change.
27907
- cacheKey += yield checksumFile(`cache-key `, `go.mod`);
27907
+ cacheKey += yield checksumFile(`sha1 `, `go.mod`);
27908
27908
}
27909
27909
else {
27910
27910
cacheKey += `nogomod`;
Original file line number Diff line number Diff line change @@ -27916,7 +27916,7 @@ function buildCacheKeys() {
27916
27916
keys.push(cacheKey);
27917
27917
if (yield pathExists(`go.mod`)) {
27918
27918
// Add checksum to key to invalidate a cache when dependencies change.
27919
- cacheKey += yield checksumFile(`cache-key `, `go.mod`);
27919
+ cacheKey += yield checksumFile(`sha1 `, `go.mod`);
27920
27920
}
27921
27921
else {
27922
27922
cacheKey += `nogomod`;
Original file line number Diff line number Diff line change
1
+ module github.com/golangci/golangci-lint-action
2
+
3
+ go 1.14
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ async function buildCacheKeys(): Promise<string[]> {
42
42
43
43
if ( await pathExists ( `go.mod` ) ) {
44
44
// Add checksum to key to invalidate a cache when dependencies change.
45
- cacheKey += await checksumFile ( `cache-key ` , `go.mod` )
45
+ cacheKey += await checksumFile ( `sha1 ` , `go.mod` )
46
46
} else {
47
47
cacheKey += `nogomod`
48
48
}
You can’t perform that action at this time.
0 commit comments