Skip to content

Commit 7fe105c

Browse files
authored
fixed #13547 - codeql-analysis.yml: updated CodeQL GitHub actions / small cleanup (#7209)
1 parent c7248eb commit 7fe105c

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,16 @@ jobs:
3636
with:
3737
persist-credentials: false
3838

39-
- name: Install missing software on ubuntu
40-
run: |
41-
sudo apt-get update
42-
sudo apt-get install libxml2-utils
43-
4439
# Initializes the CodeQL tools for scanning.
4540
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v2
41+
uses: github/codeql-action/init@v3
4742
with:
4843
languages: ${{ matrix.language }}
49-
# If you wish to specify custom queries, you can do so here or in a config file.
50-
# By default, queries listed here will override any specified in a config file.
51-
# Prefix the list here with "+" to use these queries and those in the config file.
52-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
53-
setup-python-dependencies: false
5444

55-
- run: |
45+
- name: Build cppcheck
46+
if: matrix.language == 'cpp'
47+
run: |
5648
make -j$(nproc) HAVE_RULES=yes cppcheck
5749
5850
- name: Perform CodeQL Analysis
59-
uses: github/codeql-action/analyze@v2
51+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)