From a18f8ad76c6ad951f92e3b42060ee23473509aac Mon Sep 17 00:00:00 2001 From: Tobias Stamann Date: Mon, 30 Sep 2024 15:24:53 +0200 Subject: [PATCH] Fix CODEQL workflow --- .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 dcf3d76..5ed7b25 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -40,6 +40,13 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + + # Setup correct java version + - name: Setup Java JDK + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: 17 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL @@ -68,4 +75,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 \ No newline at end of file + uses: github/codeql-action/analyze@v3