Skip to content

Commit 5274d7c

Browse files
committed
update codeql version from v3 to v4
1 parent 78b949a commit 5274d7c

1 file changed

Lines changed: 4 additions & 24 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -29,36 +29,16 @@ jobs:
2929

3030
steps:
3131
- name: Checkout repository
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3333

3434
# Initializes the CodeQL tools for scanning.
3535
- name: Initialize CodeQL
36-
uses: github/codeql-action/init@v3
36+
uses: github/codeql-action/init@v4
3737
with:
3838
languages: ${{ matrix.language }}
39-
# If you wish to specify custom queries, you can do so here or in a config file.
40-
# By default, queries listed here will override any specified in a config file.
41-
# Prefix the list here with "+" to use these queries and those in the config file.
42-
43-
# For more 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
44-
# queries: security-extended,security-and-quality
45-
46-
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
47-
# If this step fails, then you should remove it and run the build manually (see below)
48-
- name: Autobuild
49-
uses: github/codeql-action/autobuild@v3
50-
51-
# ℹ️ Command-line programs to run using the OS shell.
52-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
53-
54-
# If the Autobuild fails above, remove it and uncomment the following three lines.
55-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
56-
57-
# - run: |
58-
# echo "Run, Build Application using script"
59-
# ./location_of_script_within_repo/buildscript.sh
39+
build-mode: none
6040

6141
- name: Perform CodeQL Analysis
62-
uses: github/codeql-action/analyze@v3
42+
uses: github/codeql-action/analyze@v4
6343
with:
6444
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)