Skip to content

Run build and tests with multiple JDK releases #113

Run build and tests with multiple JDK releases

Run build and tests with multiple JDK releases #113

Workflow file for this run

name: unit-tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11', '17', '21' ]
name: Java ${{ matrix.Java }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Execute Gradle build
run: ./gradlew build