diff --git a/azure-pipelines.qodana.yml b/azure-pipelines.qodana.yml new file mode 100644 index 000000000..5d2c9f18c --- /dev/null +++ b/azure-pipelines.qodana.yml @@ -0,0 +1,15 @@ +pool: + vmImage: 'ubuntu-latest' + +jobs: + - job: QodanaScan + displayName: 'Qodana Scan' + steps: + - task: Cache@2 # Not required, but Qodana will open projects with cache faster. + inputs: + key: '"$(Build.Repository.Name)" | "$(Build.SourceBranchName)" | "$(Build.SourceVersion)"' + path: '$(Agent.TempDirectory)/qodana/cache' + restoreKeys: | + "$(Build.Repository.Name)" | "$(Build.SourceBranchName)" + "$(Build.Repository.Name)" + - task: QodanaScan@2023