23
23
concurrency :
24
24
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
25
25
cancel-in-progress : true
26
-
26
+
27
27
jobs :
28
28
29
29
# Prepare environment and build the plugin
@@ -36,13 +36,13 @@ jobs:
36
36
pluginVerifierHomeDir : ${{ steps.properties.outputs.pluginVerifierHomeDir }}
37
37
steps :
38
38
39
- # Check out current repository
39
+ # Check out the current repository
40
40
- name : Fetch Sources
41
41
uses : actions/checkout@v4
42
42
43
43
# Validate wrapper
44
44
- name : Gradle Wrapper Validation
45
- uses : gradle/wrapper-validation-action @v3
45
+ uses : gradle/actions/ wrapper-validation@v3
46
46
47
47
# Set up Java environment for the next steps
48
48
- name : Setup Java
54
54
# Setup Gradle
55
55
- name : Setup Gradle
56
56
uses : gradle/actions/setup-gradle@v4
57
- with :
58
- gradle-home-cache-cleanup : true
59
57
60
58
# Set environment variables
61
59
- name : Export Properties
73
71
echo "$CHANGELOG" >> $GITHUB_OUTPUT
74
72
echo "EOF" >> $GITHUB_OUTPUT
75
73
76
- ./gradlew listProductsReleases # prepare list of IDEs for Plugin Verifier
77
-
78
74
# Build plugin
79
75
- name : Build plugin
80
76
run : ./gradlew buildPlugin
@@ -104,7 +100,7 @@ jobs:
104
100
runs-on : ubuntu-latest
105
101
steps :
106
102
107
- # Check out current repository
103
+ # Check out the current repository
108
104
- name : Fetch Sources
109
105
uses : actions/checkout@v4
110
106
@@ -118,8 +114,6 @@ jobs:
118
114
# Setup Gradle
119
115
- name : Setup Gradle
120
116
uses : gradle/actions/setup-gradle@v4
121
- with :
122
- gradle-home-cache-cleanup : true
123
117
124
118
# Run tests
125
119
- name : Run Tests
@@ -158,7 +152,7 @@ jobs:
158
152
tool-cache : false
159
153
large-packages : false
160
154
161
- # Check out current repository
155
+ # Check out the current repository
162
156
- name : Fetch Sources
163
157
uses : actions/checkout@v4
164
158
with :
@@ -174,7 +168,7 @@ jobs:
174
168
175
169
# Run Qodana inspections
176
170
- name : Qodana - Code Inspection
177
- uses : JetBrains/qodana-action@v2024.2.3
171
+ uses : JetBrains/qodana-action@v2024.2
178
172
with :
179
173
upload-result : true # upload results as github action artifacts
180
174
cache-default-branch-only : true
@@ -193,7 +187,7 @@ jobs:
193
187
tool-cache : false
194
188
large-packages : false
195
189
196
- # Check out current repository
190
+ # Check out the current repository
197
191
- name : Fetch Sources
198
192
uses : actions/checkout@v4
199
193
@@ -207,8 +201,6 @@ jobs:
207
201
# Setup Gradle
208
202
- name : Setup Gradle
209
203
uses : gradle/actions/setup-gradle@v4
210
- with :
211
- gradle-home-cache-cleanup : true
212
204
213
205
# Cache Plugin Verifier IDEs
214
206
- name : Setup Plugin Verifier IDEs Cache
@@ -219,7 +211,7 @@ jobs:
219
211
220
212
# Run Verify Plugin task and IntelliJ Plugin Verifier tool
221
213
- name : Run Plugin Verification tasks
222
- run : ./gradlew runPluginVerifier -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }}
214
+ run : ./gradlew verifyPlugin -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }}
223
215
224
216
# Collect Plugin Verifier Result
225
217
- name : Collect Plugin Verifier Result
@@ -240,7 +232,7 @@ jobs:
240
232
contents : write
241
233
steps :
242
234
243
- # Check out current repository
235
+ # Check out the current repository
244
236
- name : Fetch Sources
245
237
uses : actions/checkout@v4
246
238
@@ -264,4 +256,4 @@ jobs:
264
256
--notes "$(cat << 'EOM'
265
257
${{ needs.build.outputs.changelog }}
266
258
EOM
267
- )"
259
+ )"
0 commit comments