Skip to content

Add Qodana Cloud

Add Qodana Cloud #3

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
name: "Qodana"
on: # yamllint disable-line rule:truthy
pull_request: null
push:
branches:
- "master"
permissions: {} # yamllint disable-line rule:braces
#permissions: "read-all"
#permissions:
# contents: "read" # Private repositories need read permission
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
qodana:
name: "Qodana Cloud"
runs-on: "ubuntu-22.04"
timeout-minutes: 10
permissions:
checks: "write"
contents: "write"
pull-requests: "write"
steps:
-
name: "Checkout repository"
uses: "actions/[email protected]"
with:
# Check out the pull request commit, not the merge commit
ref: "${{ github.event.pull_request.head.sha }}"
fetch-depth: 0
-
name: "Run analysis"
uses: "JetBrains/[email protected]"
env:
QODANA_TOKEN: "${{ secrets.QODANA_TOKEN }}"