Skip to content

Commit aa234a5

Browse files
committed
only one plugin AsciiDoc
1 parent d6cc2d6 commit aa234a5

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/docs.yml

+14
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@ jobs:
4242
if: github.event_name == 'pull_request'
4343
run: git fetch --deepen=1
4444

45+
- name: Download Grazie plugin for grammar checks
46+
# https://plugins.jetbrains.com/plugin/12175-grazie/versions
47+
run: |
48+
curl -L -o grazie.zip 'https://plugins.jetbrains.com/plugin/download?rel=true&updateId=257026'
49+
unzip grazie.zip
50+
51+
- name: Download Grazie Professional plugin for grammar checks
52+
# https://plugins.jetbrains.com/plugin/16136-grazie-professional/versions
53+
run: |
54+
curl -L -o grazie-pro.zip 'https://plugins.jetbrains.com/plugin/download?rel=true&updateId=260567'
55+
unzip grazie-pro.zip
56+
4557
- name: Create empty folder to overwrite disabled plugin
4658
run: |
4759
mkdir empty
@@ -59,7 +71,9 @@ jobs:
5971
--upload-result,true
6072
--linter,jetbrains/qodana-jvm-community:2023.1,
6173
--property=idea.suppressed.plugins.id=com.intellij.gradle,
74+
-v,${{ github.workspace }}/grazie:/opt/idea/plugins/grazie,
6275
-v,${{ github.workspace }}/empty:/opt/idea/plugins/gradle-java,
76+
-v,${{ github.workspace }}/grazie-pro:/opt/idea/plugins/grazie-pro,
6377
--baseline,doc/qodana-baseline.sarif.json
6478
6579
# 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

qodana.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ version: 1.0
22
profile:
33
path: doc/asciidoc-inspection.xml
44
plugins:
5-
# Grazie plugin ('tanvd.grazi') is already installed, no need to download it again
6-
- id: com.intellij.grazie.pro
75
# Order of plugin in the order which they depend on. AsciiDoc depends on Qodana pro, therefore add it after
86
- id: org.asciidoctor.intellij.asciidoc
97
exclude:

0 commit comments

Comments
 (0)