File tree Expand file tree Collapse file tree 1 file changed +37
-34
lines changed Expand file tree Collapse file tree 1 file changed +37
-34
lines changed Original file line number Diff line number Diff line change 13
13
workflow_dispatch : {}
14
14
15
15
jobs :
16
+ linting :
17
+ name : Linting
18
+ runs-on : ubuntu-latest
19
+
20
+ steps :
21
+ - name : Checkout repository
22
+
23
+ with :
24
+ fetch-depth : 2
25
+
26
+ - name : Initialize Java
27
+
28
+ with :
29
+ distribution : ' zulu'
30
+ java-version : 17
31
+ cache : ' maven'
32
+
33
+ - name : Run Maven checks
34
+ shell : bash
35
+ run : >-
36
+ ./mvnw -B -U
37
+ -DskipTests=true
38
+ -Dmaven.main.skip
39
+ -Dmaven.jar.skip
40
+ -Dmaven.resources.skip
41
+ -Dmaven.test.skip
42
+ verify
43
+
44
+ - name : Validate codecov.yml
45
+ continue-on-error : false
46
+ if : always()
47
+ shell : bash
48
+ run : curl --fail -I --data-binary @codecov.yml https://codecov.io/validate
49
+
16
50
build :
17
51
name : Build on JDK ${{ matrix.java-version }} (${{ matrix.os-name }})
18
52
runs-on : ${{ matrix.os-name }}
@@ -183,43 +217,12 @@ jobs:
183
217
chmod -v +x codecov
184
218
./codecov -v
185
219
186
- linting :
187
- name : Linting
188
- runs-on : ubuntu-latest
189
-
190
- steps :
191
- - name : Checkout repository
192
-
193
- with :
194
- fetch-depth : 2
195
-
196
- - name : Initialize Java
197
-
198
- with :
199
- distribution : ' zulu'
200
- java-version : 17
201
- cache : ' maven'
202
-
203
- - name : Run Maven checks
204
- shell : bash
205
- run : >-
206
- ./mvnw -B -U
207
- -DskipTests=true
208
- -Dmaven.main.skip
209
- -Dmaven.jar.skip
210
- -Dmaven.resources.skip
211
- -Dmaven.test.skip
212
- verify
213
-
214
- - name : Validate codecov.yml
215
- continue-on-error : false
216
- if : always()
217
- shell : bash
218
- run : curl --data-binary --fail @codecov.yml https://codecov.io/validate
219
-
220
220
generate-documentation :
221
221
name : Generate documentation
222
222
runs-on : ubuntu-latest
223
+ needs :
224
+ - linting
225
+ - build
223
226
224
227
steps :
225
228
- name : Checkout repository
You can’t perform that action at this time.
0 commit comments