Skip to content

Commit

Permalink
only one plugin AsciiDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
ahus1 committed Jun 24, 2023
1 parent d6cc2d6 commit aa234a5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 0 additions & 2 deletions qodana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit aa234a5

Please sign in to comment.