Skip to content

Commit

Permalink
Setup Qodana Ultimate Plus
Browse files Browse the repository at this point in the history
  • Loading branch information
Nice3point committed Nov 23, 2023
1 parent 9e2e9a2 commit 4fd330f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/Qodana.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Code quality
on:
workflow_dispatch:
pull_request:
push:
branches:
- main

version: 1.0
jobs:
qodana:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
checks: write
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@main
with:
post-pr-comment: true
github-token: ${{ secrets.GITHUB_TOKEN }}
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
1 change: 1 addition & 0 deletions qodana.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
version: "1.0"
linter: jetbrains/qodana-dotnet:latest
failThreshold: 0
exclude:
- name: All
paths:
Expand Down

0 comments on commit 4fd330f

Please sign in to comment.