Skip to content

Commit

Permalink
Improve CI with cancel & concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
yaooqinn committed Mar 18, 2022
1 parent 51a7c48 commit d253821
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@ jobs:
java-version: 8
cache: 'maven'
check-latest: false
- name: Maven install
run: >-
build/mvn -T 4 clean install -V -B -Pflink-provided,spark-provided \
-Dmaven.javadoc.skip=true -Drat.skip=true -Dscalastyle.skip=true -Dspotless.check.skip -DskipTests \
-pl kyuubi-ctl,kyuubi-server,kyuubi-assembly -am
- name: Scalastyle with maven
run: build/mvn -T 4 scalastyle:check ${{ matrix.profiles }} -pl '!:kyuubi-codecov_2.12,!:kyuubi-assembly_2.12'
- name: Upload scalastyle report
if: failure()
run: for log in `find * -name "scalastyle-output.xml"`; do echo "=========$log========="; grep "error" $log; done
- name: JavaStyle with maven
run: build/mvn -T 4 spotless:check ${{ matrix.profiles }}
run: build/mvn -T 4 spotless:check ${{ matrix.profiles }} -pl '!:kyuubi-codecov_2.12,!:kyuubi-assembly_2.12'
- name: Maven install
run: >-
build/mvn -T 4 clean install -V -B -Pflink-provided,spark-provided \
-Dmaven.javadoc.skip=true -Drat.skip=true -Dscalastyle.skip=true -Dspotless.check.skip -DskipTests \
-pl kyuubi-ctl,kyuubi-server,kyuubi-assembly -am
- name: Check dependency list
run: build/dependency.sh

0 comments on commit d253821

Please sign in to comment.