Skip to content

Commit a20b1df

Browse files
committed
Updated CodeQL
1 parent a5997ec commit a20b1df

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,17 @@ jobs:
3636

3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v2
39+
uses: actions/checkout@v3
4040

41+
- name: Set up JDK 17
42+
uses: actions/setup-java@v3
43+
with:
44+
distribution: 'temurin'
45+
java-version: 17
46+
cache: 'maven'
4147
# Initializes the CodeQL tools for scanning.
4248
- name: Initialize CodeQL
43-
uses: github/codeql-action/init@v1
49+
uses: github/codeql-action/init@v2
4450
with:
4551
languages: ${{ matrix.language }}
4652
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -51,7 +57,7 @@ jobs:
5157
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5258
# If this step fails, then you should remove it and run the build manually (see below)
5359
- name: Autobuild
54-
uses: github/codeql-action/autobuild@v1
60+
uses: github/codeql-action/autobuild@v2
5561

5662
# ℹ️ Command-line programs to run using the OS shell.
5763
# 📚 https://git.io/JvXDl
@@ -65,4 +71,4 @@ jobs:
6571
# make release
6672

6773
- name: Perform CodeQL Analysis
68-
uses: github/codeql-action/analyze@v1
74+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)