-
Notifications
You must be signed in to change notification settings - Fork 0
enforce strict code quality gates and fix CI/CD workflows #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
75da573
2b9429c
281888d
1e904b5
93eab83
5db4490
c062b6a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -63,14 +63,22 @@ | |||||
| <configuration> | ||||||
| <java> | ||||||
| <googleJavaFormat> | ||||||
| <version>1.7</version> | ||||||
| <version>1.24.0</version> | ||||||
| <style>GOOGLE</style> | ||||||
| </googleJavaFormat> | ||||||
| <removeUnusedImports /> | ||||||
| <trimTrailingWhitespace /> | ||||||
| <endWithNewline /> | ||||||
| </java> | ||||||
| </configuration> | ||||||
| <executions> | ||||||
| <execution> | ||||||
| <goals> | ||||||
| <goal>check</goal> | ||||||
| </goals> | ||||||
| <phase>verify</phase> | ||||||
| </execution> | ||||||
| </executions> | ||||||
| </plugin> | ||||||
|
|
||||||
| <!-- SpotBugs for static analysis --> | ||||||
|
|
@@ -81,7 +89,7 @@ | |||||
| <configuration> | ||||||
| <effort>Max</effort> | ||||||
| <threshold>Low</threshold> | ||||||
| <failOnError>false</failOnError> | ||||||
| <failOnError>true</failOnError> | ||||||
| </configuration> | ||||||
| <executions> | ||||||
| <execution> | ||||||
|
|
@@ -106,7 +114,7 @@ | |||||
| <ruleset>/category/java/errorprone.xml</ruleset> | ||||||
| <ruleset>/category/java/performance.xml</ruleset> | ||||||
| </rulesets> | ||||||
| <failOnViolation>false</failOnViolation> | ||||||
| <failOnViolation>true</failOnViolation> | ||||||
| </configuration> | ||||||
| <executions> | ||||||
| <execution> | ||||||
|
|
@@ -126,10 +134,10 @@ | |||||
| <configLocation>google_checks.xml</configLocation> | ||||||
| <encoding>UTF-8</encoding> | ||||||
| <consoleOutput>true</consoleOutput> | ||||||
| <failsOnError>false</failsOnError> | ||||||
| <failOnViolation>false</failOnViolation> | ||||||
| <failsOnError>true</failsOnError> | ||||||
| <failOnViolation>true</failOnViolation> | ||||||
| <linkXRef>false</linkXRef> | ||||||
| <violationSeverity>error</violationSeverity> | ||||||
| <violationSeverity>warning</violationSeverity> | ||||||
|
||||||
| <violationSeverity>warning</violationSeverity> | |
| <violationSeverity>error</violationSeverity> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the pull_request trigger from the CI workflow means that pull requests will no longer be tested by this workflow. This appears to be intentional since there is a separate pr-validation.yml workflow, but it's worth noting that the ci.yml workflow runs SonarCloud analysis which the pr-validation.yml also runs. Consider whether this separation is needed, or if the pull_request trigger should be retained to ensure consistency between PR validation and main branch CI.