Skip to content

Commit

Permalink
checkstyle: fail on violation
Browse files Browse the repository at this point in the history
  • Loading branch information
mafasva committed Oct 10, 2024
1 parent 41a4e60 commit 45cf32c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-for-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
distribution: 'temurin'
cache: 'maven'
- name: Run Checkstyle
run: mvn checkstyle:check
run: mvn validate
- name: Run unit tests
run: mvn clean test
- name: Run integration tests
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@
<configLocation>.config/checkstyle.xml</configLocation>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<failOnViolation>true</failOnViolation>
</configuration>
<executions>
<execution>
Expand Down

0 comments on commit 45cf32c

Please sign in to comment.