From a84728ccb17aa86f7b77f00b1316df1a0ef1ee0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Chicchiricc=C3=B2?= Date: Sun, 7 May 2023 08:13:32 +0200 Subject: [PATCH] Upgrade GH workflows with JDK 11 --- .github/workflows/pr-validation.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 1593a46e1..77a0fd3d9 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -21,13 +21,14 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: 'Set up JDK 1.8' - uses: actions/setup-java@v1 + - uses: actions/checkout@v3 + - name: Setup Java JDK + uses: actions/setup-java@v3 with: - java-version: '1.8' + distribution: 'zulu' + java-version: 11 - name: 'Cache Maven packages' - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2 key: 'cache'