diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml index 79f6499..e929b56 100644 --- a/.github/workflows/qodana.yml +++ b/.github/workflows/qodana.yml @@ -11,15 +11,16 @@ on: jobs: qodana: runs-on: ubuntu-latest -# permissions: -# contents: write -# pull-requests: write -# checks: write + permissions: + contents: read + pull-requests: write + checks: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit fetch-depth: 0 # a full history is required for pull request analysis + submodules: recursive - name: 'Qodana Scan' uses: JetBrains/qodana-action@v2024.1 env: diff --git a/EventStore.Plugins.sln b/EventStore.Plugins.sln index 2224bb3..bd86634 100644 --- a/EventStore.Plugins.sln +++ b/EventStore.Plugins.sln @@ -7,6 +7,16 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EventStore.Plugins", "src\E EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EventStore.Plugins.Tests", "test\EventStore.Plugins.Tests\EventStore.Plugins.Tests.csproj", "{8D893FD3-3D17-4EEB-9F5A-A404237B6E78}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{21EC71E9-EDC8-4AA8-8BA4-FC760F0706A3}" + ProjectSection(SolutionItems) = preProject + .editorconfig = .editorconfig + .gitignore = .gitignore + LICENSE.md = LICENSE.md + NOTICE.md = NOTICE.md + qodana.yaml = qodana.yaml + README.md = README.md + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -25,4 +35,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A109BAB2-694B-41C1-BA1A-6D9D219EAFD9} + EndGlobalSection EndGlobal diff --git a/qodana.yaml b/qodana.yaml new file mode 100644 index 0000000..8f3ac1f --- /dev/null +++ b/qodana.yaml @@ -0,0 +1,6 @@ +version: "1.0" + +linter: jetbrains/qodana-dotnet:2024.1 + +dotnet: + solution: EventStore.Plugins.sln