From 2d651e6543fb32c3fa09c80c285d49952edae537 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karlo=20=C4=8Ceh?= Date: Fri, 1 Mar 2024 14:43:50 +0100 Subject: [PATCH] Update code-analysis.yml Use Java 17 --- .github/workflows/code-analysis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code-analysis.yml b/.github/workflows/code-analysis.yml index 25cdd04b..7eea6dc3 100644 --- a/.github/workflows/code-analysis.yml +++ b/.github/workflows/code-analysis.yml @@ -15,6 +15,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - name: Set up Java + uses: actions/setup-java@v2 + with: + distribution: "adopt" + java-version: 17 - name: Save Gradle Caches uses: actions/cache@v2 with: @@ -78,4 +83,4 @@ jobs: - name: CPD run: ./gradlew cpdAll - name: Stop Gradle - run: ./gradlew --stop \ No newline at end of file + run: ./gradlew --stop