This is an automated email from the ASF dual-hosted git repository.

chengpan pushed a commit to branch branch-1.11
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/branch-1.11 by this push:
     new ba110f2999 [KYUUBI #7287] Fix checkstyle workflow
ba110f2999 is described below

commit ba110f2999ebe92148c25a0a59554649ca4e3472
Author: Cheng Pan <[email protected]>
AuthorDate: Thu Dec 25 20:48:52 2025 +0800

    [KYUUBI #7287] Fix checkstyle workflow
    
    ### Why are the changes needed?
    
    Fix checkstyle workflow by adding `-am` on compiling special module
    
    ### How was this patch tested?
    
    Pass GHA.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #7287 from pan3793/style.
    
    Closes #7287
    
    a8ec1f31f [Cheng Pan] java17
    65ae8cf71 [Cheng Pan] Fix checkstyle workflow
    
    Authored-by: Cheng Pan <[email protected]>
    Signed-off-by: Cheng Pan <[email protected]>
    (cherry picked from commit 0ef4201b770e3943ee511276f4ea00621da530f4)
    Signed-off-by: Cheng Pan <[email protected]>
---
 .github/workflows/style.yml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml
index 11eba10233..466c1c11b0 100644
--- a/.github/workflows/style.yml
+++ b/.github/workflows/style.yml
@@ -40,11 +40,11 @@ jobs:
       - uses: actions/checkout@v4
         with:
           fetch-depth: 0
-      - name: Setup JDK 8
+      - name: Setup JDK 17
         uses: actions/setup-java@v4
         with:
           distribution: temurin
-          java-version: 8
+          java-version: 17
           cache: 'maven'
       - name: Setup Maven
         uses: ./.github/actions/setup-maven
@@ -63,13 +63,13 @@ jobs:
         # for more details, please visit: 
https://github.com/actions/toolkit/issues/399#issuecomment-666147717
         if: steps.modules-check.conclusion == 'success' && 
steps.modules-check.outcome == 'failure'
         run: |
-          export MAVEN_ARGS="-DskipTests 
-Dorg.slf4j.simpleLogger.defaultLogLevel=warn -Drat.skip=true 
-Dmaven.scalastyle.skip=true -Dspotless.check.skip=true"
-          build/mvn clean install 
-Pflink-provided,hive-provided,spark-provided,tpcds
-          build/mvn clean install -pl 
extensions/spark/kyuubi-extension-spark-3-3 -Pspark-3.3
-          build/mvn clean install -pl 
extensions/spark/kyuubi-extension-spark-3-4 -Pspark-3.4
-          build/mvn clean install -pl 
extensions/spark/kyuubi-extension-spark-3-5,extensions/spark/kyuubi-spark-connector-hive
 -Pspark-3.5
-          build/mvn clean install -pl 
extensions/spark/kyuubi-extension-spark-4-0 -Pspark-4.0 -Pscala-2.13
-          build/mvn clean install -pl 
extensions/spark/kyuubi-extension-spark-4-1 -Pspark-4.1 -Pscala-2.13
+          export MAVEN_ARGS="-DskipTests 
-Dorg.slf4j.simpleLogger.defaultLogLevel=warn -Drat.skip=true 
-Dmaven.scalastyle.skip=true -Dspotless.check.skip=true 
-Pflink-provided,hive-provided,spark-provided"
+          build/mvn clean install -Ptpcds
+          build/mvn clean install -pl 
extensions/spark/kyuubi-extension-spark-3-3 -am -Pspark-3.3
+          build/mvn clean install -pl 
extensions/spark/kyuubi-extension-spark-3-4 -am -Pspark-3.4
+          build/mvn clean install -pl 
extensions/spark/kyuubi-extension-spark-3-5,extensions/spark/kyuubi-spark-connector-hive
 -am -Pspark-3.5
+          build/mvn clean install -pl 
extensions/spark/kyuubi-extension-spark-4-0 -am -Pspark-4.0 -Pscala-2.13
+          build/mvn clean install -pl 
extensions/spark/kyuubi-extension-spark-4-1 -am -Pspark-4.1 -Pscala-2.13
 
       - name: Scalastyle with maven
         id: scalastyle-check

Reply via email to