Skip to content

Commit 1efcc03

Browse files
authored
Merge pull request #7 from krotname/codex/update-codeql-actions
Update CodeQL workflow actions
2 parents 0483ddb + 60d076a commit 1efcc03

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,16 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242

43-
- uses: actions/setup-java@v1
43+
- uses: actions/setup-java@v4
4444
with:
4545
java-version: 17
46+
distribution: temurin
4647

4748
# Initializes the CodeQL tools for scanning.
4849
- name: Initialize CodeQL
49-
uses: github/codeql-action/init@v2
50+
uses: github/codeql-action/init@v4
5051
with:
5152
languages: ${{ matrix.language }}
5253
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -60,7 +61,7 @@ jobs:
6061
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
6162
# If this step fails, then you should remove it and run the build manually (see below)
6263
- name: Autobuild
63-
uses: github/codeql-action/autobuild@v2
64+
uses: github/codeql-action/autobuild@v4
6465

6566
# ℹ️ Command-line programs to run using the OS shell.
6667
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -73,6 +74,6 @@ jobs:
7374
# ./location_of_script_within_repo/buildscript.sh
7475

7576
- name: Perform CodeQL Analysis
76-
uses: github/codeql-action/analyze@v2
77+
uses: github/codeql-action/analyze@v4
7778
with:
7879
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)