Skip to content

Commit c48b7d0

Browse files
committed
updates .NET SDK versions for Qodana analysis
Updates the .NET SDK versions used in the Qodana analysis workflow. Adds rollForward setting to global.json to use the latest major SDK version.
1 parent 2c513f9 commit c48b7d0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/qodana_analysis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
name: Setup .NET SDK
2424
uses: actions/setup-dotnet@v4
2525
with:
26-
global-json-file: global.json
26+
dotnet-version: |
27+
8.0.x
28+
9.0.x
2729
-
2830
name: 'Qodana Scan'
2931
uses: jetbrains/[email protected]

global.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"src"
66
],
77
"sdk": {
8-
"version": "9.0.304"
8+
"version": "9.0.304",
9+
"rollForward": "latestMajor"
910
}
1011
}

0 commit comments

Comments
 (0)