Skip to content

Commit 2372956

Browse files
committed
enable GitHub Actions CI workflow
Signed-off-by: sullis <[email protected]>
1 parent bc2f84a commit 2372956

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

Diff for: .github/workflows/ci.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
pull_request_target:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
strategy:
14+
matrix:
15+
java: [ '8', '16' ]
16+
os: [ 'ubuntu-latest' ]
17+
runs-on: ${{ matrix.os }}
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Set up JDK
21+
uses: actions/setup-java@v2
22+
with:
23+
java-version: ${{ matrix.java }}
24+
distribution: 'zulu'
25+
- name: Maven build
26+
run: mvn --no-transfer-progress -B clean test

0 commit comments

Comments
 (0)