Skip to content

Commit

Permalink
validate the format, do not format
Browse files Browse the repository at this point in the history
if we refromat the code on build then CD releases will fail as they are
dirty.

instead fail the build, let users run the formatter manually
  • Loading branch information
jtnord committed May 5, 2023
1 parent 5696bfb commit 4ef5d39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,9 @@
</configuration>
<executions>
<execution>
<id>check-source-format</id>
<goals>
<goal>format</goal>
<goal>check</goal>
</goals>
</execution>
</executions>
Expand Down

0 comments on commit 4ef5d39

Please sign in to comment.