Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Change formatting behavior
Browse files Browse the repository at this point in the history
We would like to apply formatting during development and enforce it
during CI.

Signed-off-by: Piotr Kliczewski <piotr.kliczewski@gmail.com>
  • Loading branch information
pkliczewski authored and openshift-merge-robot committed Mar 23, 2023
1 parent a6e5681 commit 96a365d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
java-version: '11'

- name: Maven Build
run: mvn clean package
run: mvn clean spring-javaformat:validate package

- name: "Build container images"
run: |
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
<phase>validate</phase>
<inherited>true</inherited>
<goals>
<goal>validate</goal>
<goal>apply</goal>
</goals>
</execution>
</executions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
@ConfigurationPropertiesScan("com.redhat.parodos")
public class WorkflowServiceApplication {

public static void main(String[] args) {
SpringApplication.run(WorkflowServiceApplication.class, args);
public static void main(String[] args) {SpringApplication.run(WorkflowServiceApplication.class, args);
}

}

0 comments on commit 96a365d

Please sign in to comment.