28
28
# Check out the current repository
29
29
- name : Fetch Sources
30
30
uses : actions/checkout@v4
31
+ with :
32
+ submodules : ' true'
33
+ token : ${{ secrets.FETCH_SUBMODULES_PAT }}
31
34
32
35
# Set up the Java environment for the next steps
33
36
- name : Setup Java
@@ -115,44 +118,6 @@ jobs:
115
118
files : ${{ github.workspace }}/build/reports/kover/report.xml
116
119
token : ${{ secrets.CODECOV_TOKEN }}
117
120
118
- # Run Qodana inspections and provide a report
119
- inspectCode :
120
- name : Inspect code
121
- needs : [ build ]
122
- runs-on : ubuntu-latest
123
- permissions :
124
- contents : write
125
- checks : write
126
- pull-requests : write
127
- steps :
128
-
129
- # Free GitHub Actions Environment Disk Space
130
- - name : Maximize Build Space
131
-
132
- with :
133
- tool-cache : false
134
- large-packages : false
135
-
136
- # Check out the current repository
137
- - name : Fetch Sources
138
- uses : actions/checkout@v4
139
- with :
140
- ref : ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
141
- fetch-depth : 0 # a full history is required for pull request analysis
142
-
143
- # Set up the Java environment for the next steps
144
- - name : Setup Java
145
- uses : actions/setup-java@v4
146
- with :
147
- distribution : zulu
148
- java-version : 21
149
-
150
- # Run Qodana inspections
151
- - name : Qodana - Code Inspection
152
-
153
- with :
154
- cache-default-branch-only : true
155
-
156
121
# Run plugin structure verification along with IntelliJ Plugin Verifier
157
122
verify :
158
123
name : Verify plugin
@@ -170,6 +135,9 @@ jobs:
170
135
# Check out the current repository
171
136
- name : Fetch Sources
172
137
uses : actions/checkout@v4
138
+ with :
139
+ submodules : ' true'
140
+ token : ${{ secrets.FETCH_SUBMODULES_PAT }}
173
141
174
142
# Set up the Java environment for the next steps
175
143
- name : Setup Java
@@ -201,7 +169,7 @@ jobs:
201
169
releaseDraft :
202
170
name : Release draft
203
171
if : github.event_name != 'pull_request'
204
- needs : [ build, test, inspectCode, verify ]
172
+ needs : [ build, test, verify ]
205
173
runs-on : ubuntu-latest
206
174
permissions :
207
175
contents : write
@@ -210,6 +178,9 @@ jobs:
210
178
# Check out the current repository
211
179
- name : Fetch Sources
212
180
uses : actions/checkout@v4
181
+ with :
182
+ submodules : ' true'
183
+ token : ${{ secrets.FETCH_SUBMODULES_PAT }}
213
184
214
185
# Remove old release drafts by using the curl request for the available releases with a draft flag
215
186
- name : Remove Old Release Drafts
0 commit comments