Skip to content

Commit 03828a3

Browse files
committed
Add caching configuration for Go
1 parent fbab95f commit 03828a3

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

lib/dependency-caching.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/dependency-caching.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/dependency-caching.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ const CODEQL_DEFAULT_CACHE_CONFIG: { [language: string]: CacheConfig } = {
4545
"**/packages.lock.json",
4646
],
4747
},
48+
go: {
49+
paths: [join(os.homedir(), "go", "pkg", "mod")],
50+
hash: ["**/go.sum"],
51+
},
4852
};
4953

5054
/**

0 commit comments

Comments
 (0)