Skip to content

Merge pull request #183 from Aiven-Open/dependabot/gradle/org.mockito… #271

Merge pull request #183 from Aiven-Open/dependabot/gradle/org.mockito…

Merge pull request #183 from Aiven-Open/dependabot/gradle/org.mockito… #271

# The workflow to check master after push or pull request.
name: Master and pull request checks
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
java-version: [ 11, 17 ]
runs-on: [ubuntu-latest, macos-latest, windows-latest]
name: Build on ${{ matrix.runs-on }} with jdk ${{ matrix.java-version }}
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: gradle
- name: Build with Gradle
run: ./gradlew build