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

@ -53,6 +53,13 @@ const CODEQL_DEFAULT_CACHE_CONFIG = {
"**/versions.properties",
],
},
csharp: {
paths: [(0, path_1.join)(os.homedir(), ".nuget", "packages")],
hash: [
// NuGet
"**/packages.lock.json",
],
},
};
/**
* Attempts to restore dependency caches for the languages being analyzed.