diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 00000000..87b4a36c --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,19 @@ +name: maven-compile-test + +on: [pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 17 + uses: actions/setup-java@v2 + with: + java-version: '17' + distribution: 'temurin' + cache: maven + - name: Validate and Compile with Maven + run: mvn validate compile -Pprod