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 1313 workflow_dispatch : {}
1414
1515jobs :
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+
1650 build :
1751 name : Build on JDK ${{ matrix.java-version }} (${{ matrix.os-name }})
1852 runs-on : ${{ matrix.os-name }}
@@ -183,43 +217,12 @@ jobs:
183217 chmod -v +x codecov
184218 ./codecov -v
185219
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-
220220 generate-documentation :
221221 name : Generate documentation
222222 runs-on : ubuntu-latest
223+ needs :
224+ - linting
225+ - build
223226
224227 steps :
225228 - name : Checkout repository
You can’t perform that action at this time.
0 commit comments