Skip to content

Commit f4a1a9b

Browse files
committed
Add ci.yml
1 parent 714f9a7 commit f4a1a9b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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

0 commit comments

Comments
 (0)