diff --git a/.github/workflows/cross-version.yml b/.github/workflows/cross-version.yml new file mode 100644 index 0000000..167fdf7 --- /dev/null +++ b/.github/workflows/cross-version.yml @@ -0,0 +1,27 @@ +name: Cross-Version + +on: [push, pull_request] + +jobs: + + test_java: + name: Java ${{ matrix.java }} + strategy: + fail-fast: false + matrix: + java: [14, 15, 16-ea] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup Java + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: Cache Maven Repository + uses: actions/cache@v2 + with: + path: ~/.m2 + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-maven + - name: Test + run: ./mvnw -V --no-transfer-progress -e clean verify javadoc:javadoc diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..90a9977 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: CI + +on: [push, pull_request] + +jobs: + + test_os: + name: OS ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, macOS-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - name: Setup Java + uses: actions/setup-java@v1 + with: + java-version: 11 + - name: Cache Maven Repository + uses: actions/cache@v2 + with: + path: ~/.m2 + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-maven + - name: Test + run: ./mvnw -V --no-transfer-progress -e clean verify javadoc:javadoc