Skip to content

Commit 72ec283

Browse files
committed
Add formatting validation step to the build
1 parent 170852d commit 72ec283

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/build-pr.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,19 @@ jobs:
2121
run: .github/setup.sh
2222
- name: Execute the build
2323
run: .github/build.sh
24+
25+
validate-formatting:
26+
runs-on: ubuntu-latest
27+
28+
steps:
29+
- uses: actions/checkout@v2
30+
- name: Set up Java
31+
uses: actions/setup-java@v3
32+
with:
33+
java-version: '11'
34+
distribution: 'zulu'
35+
cache: 'maven'
36+
- name: Set up CI environment
37+
run: .github/setup.sh
38+
- name: Execute the build
39+
run: mvn formatter:validate

0 commit comments

Comments
 (0)