kemitix-checkstyle-ruleset/.github/workflows/maven-build.yml
Paul Campbell 4fe7d51c87
Replace Jenkins with Github Actions for CI (#282)
* Replace Jenkins with Github Actions for CI

* Remove JDK 13 from build matrix

Add it back in again once everything else has settled down.
2020-03-17 10:22:19 +00:00

27 lines
649 B
YAML

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
# TODO Matrix over JDK 8, 11 and latest
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 11 ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B package --file pom.xml