Add caching configuration for C#

This commit is contained in:
Michael B. Gale 2024-07-23 12:03:28 +01:00
parent f64038fc40
commit 5e11d57e17
No known key found for this signature in database
GPG key ID: FF5E2765BD00628F
3 changed files with 15 additions and 1 deletions

View file

@ -38,6 +38,13 @@ const CODEQL_DEFAULT_CACHE_CONFIG: { [language: string]: CacheConfig } = {
"**/versions.properties",
],
},
csharp: {
paths: [join(os.homedir(), ".nuget", "packages")],
hash: [
// NuGet
"**/packages.lock.json",
],
},
};
/**