Skip to content

Commit 972a631

Browse files
authored
Synchronize C# SDK pins with the Bazel toolchain
Use 10.0.201 for dependency fetching without global.json, extractor and test setup, and stub generation, matching the updated Bazel build SDK.
1 parent 0eb898f commit 972a631

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/codeql-analysis.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Setup dotnet
3535
uses: actions/setup-dotnet@v4
3636
with:
37-
dotnet-version: 10.0.100
37+
dotnet-version: 10.0.201
3838

3939
- name: Checkout repository
4040
uses: actions/checkout@v5

‎.github/workflows/csharp-qltest.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Setup dotnet
5252
uses: actions/setup-dotnet@v4
5353
with:
54-
dotnet-version: 10.0.100
54+
dotnet-version: 10.0.201
5555
- name: Extractor unit tests
5656
run: |
5757
dotnet tool restore

‎csharp/actions/create-extractor-pack/action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
- name: Setup dotnet
88
uses: actions/setup-dotnet@v4
99
with:
10-
dotnet-version: 10.0.100
10+
dotnet-version: 10.0.201
1111
- name: Build Extractor
1212
shell: bash
1313
run: scripts/create-extractor-pack.sh

‎csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/DotNet.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public IList<string> GetNugetFeedsFromFolder(string folderPath)
150150
}
151151

152152
// The version number should be kept in sync with the version .NET version used for building the application.
153-
public const string LatestDotNetSdkVersion = "10.0.100";
153+
public const string LatestDotNetSdkVersion = "10.0.201";
154154

155155
public static ReadOnlyDictionary<string, string> MinimalEnvironment => IDotNetCliInvoker.MinimalEnvironment;
156156

‎csharp/scripts/stubs/helpers.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def make_stubs(self):
118118
bqrsFile = os.path.join(rawOutputDir, outputName + '.bqrs')
119119
jsonFile = os.path.join(rawOutputDir, outputName + '.json')
120120

121-
sdk_version = '10.0.100'
121+
sdk_version = '10.0.201'
122122
print("\n* Creating new global.json file and setting SDK to " + sdk_version)
123123
self.run_cmd(['dotnet', 'new', 'globaljson', '--force', '--sdk-version', sdk_version, '--output', self.workDir])
124124

0 commit comments

Comments
 (0)