File tree Expand file tree Collapse file tree 3 files changed +62
-2
lines changed
Expand file tree Collapse file tree 3 files changed +62
-2
lines changed Original file line number Diff line number Diff line change 1+ # -------------------------------------------------------------
2+ #
3+ # Licensed to the Apache Software Foundation (ASF) under one
4+ # or more contributor license agreements. See the NOTICE file
5+ # distributed with this work for additional information
6+ # regarding copyright ownership. The ASF licenses this file
7+ # to you under the Apache License, Version 2.0 (the
8+ # "License"); you may not use this file except in compliance
9+ # with the License. You may obtain a copy of the License at
10+ #
11+ # http://www.apache.org/licenses/LICENSE-2.0
12+ #
13+ # Unless required by applicable law or agreed to in writing,
14+ # software distributed under the License is distributed on an
15+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+ # KIND, either express or implied. See the License for the
17+ # specific language governing permissions and limitations
18+ # under the License.
19+ #
20+ # -------------------------------------------------------------
21+
22+ name : Java Codestyle
23+
24+ on :
25+ push :
26+ paths-ignore :
27+ - ' docs/**'
28+ - ' *.md'
29+ - ' *.html'
30+ - ' src/main/python/**'
31+ - ' dev/**'
32+ branches :
33+ - main
34+ pull_request :
35+ paths-ignore :
36+ - ' docs/**'
37+ - ' *.md'
38+ - ' *.html'
39+ - ' src/main/python/**'
40+ - ' dev/**'
41+ branches :
42+ - main
43+
44+ jobs :
45+ java_codestyle :
46+ name : Java Checkstyle
47+ runs-on : ubuntu-latest
48+ steps :
49+ - name : Checkout Repository
50+ uses : actions/checkout@v6
51+
52+ - name : Setup Java 17 adopt
53+ uses : actions/setup-java@v5
54+ with :
55+ distribution : adopt
56+ java-version : ' 17'
57+ cache : ' maven'
58+
59+ - name : Run Checkstyle
60+ run : mvn -ntp -B -Dcheckstyle.skip=false checkstyle:check
Original file line number Diff line number Diff line change 9696 uses : ./.github/action/
9797 id : test
9898 with :
99- test-to-run : ${{ matrix.tests }} -Dcheckstyle.skip=true
99+ test-to-run : ${{ matrix.tests }}
100100
101101 - name : Clean Github Artifact Name of Asterisks
102102 run : |
Original file line number Diff line number Diff line change 7878 <test-forkCount >1C</test-forkCount >
7979 <rerun .failing.tests.count>2</rerun .failing.tests.count>
8080 <jacoco .skip>false</jacoco .skip>
81- <checkstyle .skip>false </checkstyle .skip>
81+ <checkstyle .skip>true </checkstyle .skip>
8282 <doc .skip>false</doc .skip>
8383 <jacoco .include>**</jacoco .include>
8484 <automatedtestbase .outputbuffering>false</automatedtestbase .outputbuffering>
You can’t perform that action at this time.
0 commit comments