Skip to content

Qodana

Qodana #4

Workflow file for this run

name: Qodana
on:
workflow_dispatch:
pull_request:
branches:
- master
jobs:
qodana:
runs-on: macos-14
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
- 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
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}