Skip to content

Commit

Permalink
Add Qodana workflow (#3500)
Browse files Browse the repository at this point in the history
  • Loading branch information
joschi committed Aug 13, 2023
1 parent b875b55 commit 35b5c0a
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/qodana.yml
@@ -0,0 +1,28 @@
---
name: "Qodana"
on:
workflow_dispatch:
pull_request:
push:
branches:
- "main"
- 'release/*'

jobs:
qodana:
runs-on: "ubuntu-latest"
permissions:
contents: "write"
pull-requests: "write"
checks: "write"
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2023.2
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
- uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json
7 changes: 7 additions & 0 deletions qodana.yaml
@@ -0,0 +1,7 @@
---
# https://www.jetbrains.com/help/qodana/qodana-yaml.html
version: "1.0"
profile:
name: qodana.starter
projectJDK: 17
linter: jetbrains/qodana-jvm-community:2023.2

0 comments on commit 35b5c0a

Please sign in to comment.