diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml index 54bafa95..747f5ecb 100644 --- a/.github/workflows/qodana.yml +++ b/.github/workflows/qodana.yml @@ -21,6 +21,15 @@ on: required: false type: boolean default: false + log-level: + description: 'Log level for Qodana scan' + required: false + type: choice + default: 'error' + options: + - 'debug' + - 'error' + - 'trace' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -59,10 +68,11 @@ jobs: cache-dir: ${{ runner.temp }}/qodana/caches primary-cache-key: ${{ runner.os }}-qodana-${{ github.ref }}-${{ hashFiles('**/*.csproj') }} additional-cache-key: ${{ runner.os }}-qodana-${{ github.ref }} - upload-result: ${{github.event_name == 'workflow_dispatch' && inputs.upload-result-as-artifact == true}} + upload-result: ${{ github.event_name == 'workflow_dispatch' && inputs.upload-result-as-artifact == true }} github-token: ${{ github.token }} args: | --project-dir,src, + --log-level,${{ github.event_name == 'workflow_dispatch' && inputs.log-level || 'error' }}, --save-report=false env: QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} diff --git a/src/qodana.yaml b/src/qodana.yaml index 5b983334..2ed8adc5 100644 --- a/src/qodana.yaml +++ b/src/qodana.yaml @@ -1,7 +1,7 @@ version: "1.0" profile: name: qodana.recommended -linter: jetbrains/qodana-cdnet:2025.1-eap +linter: jetbrains/qodana-cdnet:2024.3-eap dotnet: solution: Objectivity.AutoFixture.XUnit2.AutoMock.sln configuration: Release