From 6b53f870aaf5e4c18960102e5b827136015fd3fa Mon Sep 17 00:00:00 2001 From: Matthias Wiedemann Date: Sun, 8 May 2022 18:32:52 +0200 Subject: [PATCH] setup jdk for code-ql analysis (#151) --- .github/workflows/codeql-analysis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index cecf1966..73c8ad13 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -32,7 +32,14 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 - + - name: Setup JDK + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: '17' + check-latest: true + cache: 'maven' + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2