From 9499a7f0e0e7d69bbc88c6a9981b2e52cac84539 Mon Sep 17 00:00:00 2001 From: Speiger Date: Thu, 7 Apr 2022 13:27:12 +0200 Subject: [PATCH] Setup matrix so multiple java versions are tested. --- .github/workflows/build_validator.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_validator.yml b/.github/workflows/build_validator.yml index c2d1c0b..9832be7 100644 --- a/.github/workflows/build_validator.yml +++ b/.github/workflows/build_validator.yml @@ -15,15 +15,18 @@ on: jobs: build: + strategy: + matrix: + jdk: [8, 11, 14, 16, 17] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK ${{ matrix.jdk }} uses: actions/setup-java@v1 with: - java-version: '11' + java-version: ${{ matrix.jdk }} distribution: 'adopt' cache: gradle - name: Validate Gradle wrapper