Skip to content

Commit 0b80237

Browse files
authored
Update codeql-analysis.yml
1 parent c699105 commit 0b80237

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@ jobs:
3636

3737
# Install and setup JDK 17
3838
- name: Setup JDK 17
39-
uses: actions/setup-java@v1
39+
uses: actions/setup-java@v2
4040
with:
41-
java-version: 17
41+
distribution: 'temurin'
42+
java-version: '17'
4243

4344
# Initializes the CodeQL tools for scanning.
4445
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v1
46+
uses: github/codeql-action/init@v2
4647
with:
4748
languages: ${{ matrix.language }}
4849
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +54,7 @@ jobs:
5354
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5455
# If this step fails, then you should remove it and run the build manually (see below)
5556
- name: Autobuild
56-
uses: github/codeql-action/autobuild@v1
57+
uses: github/codeql-action/autobuild@v2
5758

5859
# ℹ️ Command-line programs to run using the OS shell.
5960
# 📚 https://git.io/JvXDl
@@ -67,4 +68,4 @@ jobs:
6768
# make release
6869

6970
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v1
71+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)