Skip to content

Commit 4c81626

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 4c81626

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
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
}

qodana.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version: "1.0"
66
#Specify inspection profile for code analysis
77
profile:
88
name: qodana.starter
9-
linter: jetbrains/qodana-cdnet:latest
9+
linter: jetbrains/qodana-cdnet:2025.1-eap
1010
include:
1111
- name: ConvertIfStatementToReturnStatement
1212
- name: ConvertIfStatementToConditionalTernaryExpression

0 commit comments

Comments
 (0)