From 2daa631efc3c585edffa0f59ff8737cae9152688 Mon Sep 17 00:00:00 2001 From: Tobias Ortmayr Date: Mon, 9 Oct 2023 12:16:20 +0200 Subject: [PATCH] Update codeql workflow --- .github/workflows/codeql-analysis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d28d96d0..b5440c6b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -40,6 +40,10 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + + - uses: actions/setup-java@v1 + with: + java-version: 17 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL @@ -54,6 +58,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Build with Maven + run: mvn -B -Pm2 clean verify --file pom.xml # ℹ️ Command-line programs to run using the OS shell.