Skip to content

Add spotless check and apply in reformat#1083

Merged
richox merged 1 commit intoapache:masterfrom
cxzl25:spotless_check_apply
Aug 2, 2025
Merged

Add spotless check and apply in reformat#1083
richox merged 1 commit intoapache:masterfrom
cxzl25:spotless_check_apply

Conversation

@cxzl25
Copy link
Contributor

@cxzl25 cxzl25 commented Jul 31, 2025

Which issue does this PR close?

Closes #.

Rationale for this change

Now CI style is missing some spotless plugin check

What changes are included in this PR?

Are there any user-facing changes?

SHIM=$ver
if [[ "$CHECK" == "true" ]]; then
mvn compile test-compile scalafix:scalafix -Dscalafix.mode=CHECK -Dscalafix.skipTest=true -P"${SHIM}" -P"${MODE}"
mvn spotless:check compile test-compile scalafix:scalafix -Dscalafix.mode=CHECK -Dscalafix.skipTest=true -P"${SHIM}" -P"${MODE}"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The format of pom.xml and scala files is not checked correctly before spotless:check.

@richox richox merged commit 77bb3b3 into apache:master Aug 2, 2025
619 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants