name: Java CI

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest
    continue-on-error: ${{ matrix.experimental }}
    strategy:
      matrix:
        java: [ 11, 16 ]
        experimental: [false]
        include:
          - java: 17-ea
            experimental: true

    steps:
    - uses: actions/checkout@v2.3.4
    - name: Set up JDK ${{ matrix.java }}
      uses: actions/setup-java@v2.0.0
      with:
        distribution: 'adopt'
        java-version: ${{ matrix.java }}
    - name: Cache Maven packages
      uses: actions/cache@v2.1.5
      with:
        path: ~/.m2
        key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
        restore-keys: ${{ runner.os }}-m2
    - name: Build with Maven
      run: mvn -B clean package --file pom.xml

name: Java CI

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest
    continue-on-error: ${{ matrix.experimental }}
    strategy:
      matrix:
        java: [ 11, 16 ]
        experimental: [false]
        include:
          - java: 17-ea
            experimental: true

    steps:
    - uses: actions/checkout@v2.3.4
    - name: Set up JDK ${{ matrix.java }}
      uses: actions/setup-java@v2.1.0
      with:
        distribution: 'adopt'
        java-version: ${{ matrix.java }}
    - name: Cache Maven packages
      uses: actions/cache@v2.1.5
      with:
        path: ~/.m2
        key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
        restore-keys: ${{ runner.os }}-m2
    - name: Build with Maven
      run: mvn -B clean package --file pom.xml

Bump actions/setup-java from 2.0.0 to 2.1.0
Bump actions/setup-java from 2.0.0 to 2.1.0

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.0.0...v2.1.0)

Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@github.com>