Skip to content

Commit 62c2f65

Browse files
committed
Add setup-java action to codeql.yml
1 parent 0ffbee4 commit 62c2f65

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/codeql.yml

+6
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ jobs:
5454
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
5555
# queries: security-extended,security-and-quality
5656

57+
- name: Set up JDK 17
58+
uses: actions/setup-java@v3
59+
with:
60+
distribution: 'temurin'
61+
java-version: 17
62+
cache: 'maven'
5763

5864
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
5965
# If this step fails, then you should remove it and run the build manually (see below)

0 commit comments

Comments
 (0)