diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index fa53f9e2c..268f7a371 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -42,6 +42,18 @@ jobs: if: github.event_name == 'pull_request' run: git fetch --deepen=1 + - name: Download Grazie plugin for grammar checks + # https://plugins.jetbrains.com/plugin/12175-grazie/versions + run: | + curl -L -o grazie.zip 'https://plugins.jetbrains.com/plugin/download?rel=true&updateId=257026' + unzip grazie.zip + + - name: Download Grazie Professional plugin for grammar checks + # https://plugins.jetbrains.com/plugin/16136-grazie-professional/versions + run: | + curl -L -o grazie-pro.zip 'https://plugins.jetbrains.com/plugin/download?rel=true&updateId=260567' + unzip grazie-pro.zip + - name: Create empty folder to overwrite disabled plugin run: | mkdir empty @@ -59,7 +71,9 @@ jobs: --upload-result,true --linter,jetbrains/qodana-jvm-community:2023.1, --property=idea.suppressed.plugins.id=com.intellij.gradle, + -v,${{ github.workspace }}/grazie:/opt/idea/plugins/grazie, -v,${{ github.workspace }}/empty:/opt/idea/plugins/gradle-java, + -v,${{ github.workspace }}/grazie-pro:/opt/idea/plugins/grazie-pro, --baseline,doc/qodana-baseline.sarif.json # https://docs.github.com/en/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github#example-workflow-that-runs-the-eslint-analysis-tool diff --git a/qodana.yaml b/qodana.yaml index 8f7616d6a..3439bffab 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -2,8 +2,6 @@ version: 1.0 profile: path: doc/asciidoc-inspection.xml plugins: - # Grazie plugin ('tanvd.grazi') is already installed, no need to download it again - - id: com.intellij.grazie.pro # Order of plugin in the order which they depend on. AsciiDoc depends on Qodana pro, therefore add it after - id: org.asciidoctor.intellij.asciidoc exclude: