mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-05-02 16:18:52 +00:00
fix go.mod hashsum
This commit is contained in:
parent
afc07fb790
commit
13e2c1f984
4 changed files with 6 additions and 3 deletions
2
dist/post_run/index.js
vendored
2
dist/post_run/index.js
vendored
|
|
@ -27904,7 +27904,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`;
|
||||
|
|
|
|||
2
dist/run/index.js
vendored
2
dist/run/index.js
vendored
|
|
@ -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`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue