๐จ Note: This action is not maintained anymore. Use the functionality provided by Qodana Action instead. ๐จ
This action lets you annotate your code based on SARIF files. Currently, it mainly supports Qodana.
This is an example workflow that uses Qodana
name: code quality
on:
pull_request:
branches:
- master
jobs:
code-quality:
runs-on: ubuntu-latest
name: code-quality qodana
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
java-version: 11
distribution: temurin
- name: Qodana - Code Inspection
id: qodana
uses: JetBrains/[email protected]
- name: SARIF Annotator
uses: SirYwell/[email protected]
with:
source: qodana
report-path: ${{ steps.qodana.outputs.results-json-path }}
(Note: This will annotate all issues found by Qodana, not only problems introduced by the Pull Request)