Skip to content

Commit

Permalink
Merge pull request #50 from EventStore/timothycoleman/add-qodana-conf…
Browse files Browse the repository at this point in the history
…iguration

[ESDB-174-1] Add Qodana configuration
  • Loading branch information
hayley-jean authored Aug 19, 2024
2 parents 48dce9a + a97a92b commit 3972a19
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/qodana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
env:
Expand Down
13 changes: 13 additions & 0 deletions EventStore.Plugins.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -25,4 +35,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A109BAB2-694B-41C1-BA1A-6D9D219EAFD9}
EndGlobalSection
EndGlobal
6 changes: 6 additions & 0 deletions qodana.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: "1.0"

linter: jetbrains/qodana-dotnet:2024.1

dotnet:
solution: EventStore.Plugins.sln

0 comments on commit 3972a19

Please sign in to comment.