File tree Expand file tree Collapse file tree 2 files changed +91
-13
lines changed
Expand file tree Collapse file tree 2 files changed +91
-13
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ linux :
11+ name : Linux
12+ runs-on : ubuntu-latest
13+ timeout-minutes : 30
14+ steps :
15+ - uses : actions/checkout@v2
16+
17+ - name : Set up JDK 11
18+ uses : actions/setup-java@v1
19+ with :
20+ java-version : ' 11'
21+
22+ - name : Cache local Maven repository
23+ uses : actions/cache@v2
24+ with :
25+ path : ~/.m2/repository
26+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
27+ restore-keys : |
28+ ${{ runner.os }}-maven-
29+
30+ - name : Verify
31+ run : ./mvnw clean verify
32+
33+ - name : Checkstyle
34+ run : ./mvnw checkstyle:check
35+
36+ windows :
37+ name : Windows
38+ runs-on : windows-latest
39+ timeout-minutes : 30
40+ steps :
41+ - name : Set git to use LF
42+ run : |
43+ git config --global core.autocrlf false
44+ git config --global core.eol lf
45+
46+ - uses : actions/checkout@v2
47+
48+ - name : Set up JDK 11
49+ uses : actions/setup-java@v1
50+ with :
51+ java-version : ' 11'
52+
53+ - name : Cache local Maven repository
54+ uses : actions/cache@v2
55+ with :
56+ path : $HOME/.m2/repository
57+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
58+ restore-keys : |
59+ ${{ runner.os }}-maven-
60+
61+ - name : Verify
62+ run : ./mvnw.cmd clean verify
63+
64+ - name : Checkstyle
65+ run : ./mvnw.cmd checkstyle:check
66+
67+ darwin :
68+ name : macOS
69+ runs-on : macos-latest
70+ timeout-minutes : 30
71+ steps :
72+ - uses : actions/checkout@v2
73+
74+ - name : Set up JDK 11
75+ uses : actions/setup-java@v1
76+ with :
77+ java-version : ' 11'
78+
79+ - name : Cache local Maven repository
80+ uses : actions/cache@v2
81+ with :
82+ path : ~/.m2/repository
83+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
84+ restore-keys : |
85+ ${{ runner.os }}-maven-
86+
87+ - name : Verify
88+ run : ./mvnw clean verify
89+
90+ - name : Checkstyle
91+ run : ./mvnw checkstyle:check
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments