From c463f0ac1781d0cab1a94e2e5600224ace76645e Mon Sep 17 00:00:00 2001 From: "praveenkrishna.d" Date: Sat, 2 May 2020 10:26:23 +0530 Subject: [PATCH] Add Github workflow --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..017f7727 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: CI + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + java: ['8', '9', '11', '13'] + steps: + - uses: actions/checkout@v1 + - name: Setup JDK ${{ matrix.java }} + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: Maven Test + run: mvn install -B