Skip to content

Commit fbab95f

Browse files
committed
Add caching configuration for C#
1 parent e6fa336 commit fbab95f

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

lib/dependency-caching.js

Lines changed: 7 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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ const CODEQL_DEFAULT_CACHE_CONFIG: { [language: string]: CacheConfig } = {
3838
"**/versions.properties",
3939
],
4040
},
41+
csharp: {
42+
paths: [join(os.homedir(), ".nuget", "packages")],
43+
hash: [
44+
// NuGet
45+
"**/packages.lock.json",
46+
],
47+
},
4148
};
4249

4350
/**

0 commit comments

Comments
 (0)