From 791205a4cf90d4fa1d3eb12a4dd5323d70dd2491 Mon Sep 17 00:00:00 2001 From: sullis Date: Sat, 17 Apr 2021 11:36:37 -0700 Subject: [PATCH] enable GitHub Actions CI workflow Signed-off-by: sullis --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..752d6eea5 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI + +on: + pull_request: + branches: + - main + push: + branches: + - main + +jobs: + build: + strategy: + matrix: + java: [ '8', '16' ] + os: [ 'ubuntu-latest' ] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v2 + with: + java-version: ${{ matrix.java }} + distribution: 'zulu' + - name: Maven build + run: mvn --no-transfer-progress -B clean test