From ad360b0b2169594a309bdda9ce5ee41c9d2a02ea Mon Sep 17 00:00:00 2001 From: Manfred Moser Date: Mon, 28 Aug 2023 12:34:36 -0700 Subject: [PATCH] Add minimal CI with Maven and GHA --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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..498a32e01 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: ci + +on: + push: + branches: + - main + +defaults: + run: + shell: bash --noprofile --norc -euo pipefail {0} + +env: + # Use Maven wrapper from repo with Maven version and other configs + MAVEN: ./mvnw -B + +jobs: + build: + runs-on: ubuntu-latest + timeout-minutes: 20 + steps: + - name: Checkout source + uses: actions/checkout@v3 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + - name: Build with Maven + run: $MAVEN clean verify