File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+
9
+ steps :
10
+ - name : Checkout repository
11
+ uses : actions/checkout@v2
12
+ with :
13
+ fetch-depth : 0 # Fetch all history for all branches
14
+
15
+ - name : Set up JDK 11
16
+ uses : actions/setup-java@v2
17
+ with :
18
+ distribution : ' adopt'
19
+ java-version : ' 8'
20
+
21
+ - name : Run Spotless Check
22
+ run : mvn spotless:check
23
+
24
+ - name : Compile Project
25
+ run : mvn compile
Original file line number Diff line number Diff line change 59
59
<maven .compiler.plugin.version>3.13.0</maven .compiler.plugin.version>
60
60
<maven .javadoc.plugin.version>3.6.3</maven .javadoc.plugin.version>
61
61
<maven .source.plugin.version>3.3.0</maven .source.plugin.version>
62
- <maven .spotless.plugin.version>2.43 .0</maven .spotless.plugin.version>
62
+ <maven .spotless.plugin.version>2.10 .0</maven .spotless.plugin.version>
63
63
<google .java.format.version>1.17.0</google .java.format.version>
64
64
<gpg .plugin.version>3.2.1</gpg .plugin.version>
65
65
</properties >
You can’t perform that action at this time.
0 commit comments