Add Workflow for Java CI and specify encoding

This commit is contained in:
Sebastian Serth
2022-08-02 11:17:21 +02:00
committed by Sebastian Serth
parent a7b4b25e61
commit 2864a60653
2 changed files with 24 additions and 0 deletions

23
.github/workflows/java-ci.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Java CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
cache: maven
- name: Test with Maven
run: mvn --batch-mode --update-snapshots test
working-directory: deploy/aws/java11Exec