Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/qodana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion src/qodana.yaml
Original file line number Diff line number Diff line change
@@ -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
Loading