Skip to content

K2 IDE mode

K2 IDE mode #55

Workflow file for this run

name: Qodana
on:
workflow_dispatch:
pull_request:
branches:
- master
jobs:
qodana:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
checks: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- id: get-java-home-11
run: echo "JAVA_HOME_11_X64=$JAVA_HOME_11_X64" >> $GITHUB_OUTPUT
- id: get-java-home-21
run: echo "JAVA_HOME_21_X64=$JAVA_HOME_21_X64" >> $GITHUB_OUTPUT
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2024.1
with:
args: -v,${{ steps.get-java-home-11.outputs.JAVA_HOME_11_X64 }}:/root/.jdks/jdk11 -v,${{ steps.get-java-home-21.outputs.JAVA_HOME_21_X64 }}:/root/.jdks/jdk21
post-pr-comment: false
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}