Skip to content

Commit 77ab9e9

Browse files
committed
Update CodeQL coding standards to the newest version 2.26.0
1 parent 696895d commit 77ab9e9

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/codeql_autosar.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ jobs:
2020

2121
- name: Install specific version of Coding Standards CodeQL queries
2222
run: |
23-
wget https://github.com/github/codeql-coding-standards/releases/download/v2.23.0/code-scanning-cpp-query-pack-2.23.0.zip -P "${GITHUB_WORKSPACE}/build"
24-
unzip "${GITHUB_WORKSPACE}/build/code-scanning-cpp-query-pack-2.23.0.zip" -d "${GITHUB_WORKSPACE}/build"
23+
wget https://github.com/github/codeql-coding-standards/releases/download/v2.26.0/code-scanning-cpp-query-pack.zip -P "${GITHUB_WORKSPACE}/build/download"
24+
unzip "${GITHUB_WORKSPACE}/build/download/code-scanning-cpp-query-pack.zip" -d "${GITHUB_WORKSPACE}/build"
25+
if [ -f "${GITHUB_WORKSPACE}/build/code-scanning-cpp-query-pack.zip" ] ; then
26+
unzip "${GITHUB_WORKSPACE}/build/code-scanning-cpp-query-pack.zip" -d "${GITHUB_WORKSPACE}/build"
27+
fi
2528
- name: Install dependencies
2629
run: |
2730
sudo apt-get update
@@ -44,7 +47,7 @@ jobs:
4447
uses: github/codeql-action/init@v3
4548
with:
4649
# used codeql version is specified in codeql-coding-standards/supported_codeql_configs.json file
47-
tools: https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.13.5/codeql-bundle-linux64.tar.gz
50+
tools: https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.14.6/codeql-bundle-linux64.tar.gz
4851
languages: cpp
4952
config: |
5053
disable-default-queries: true

0 commit comments

Comments
 (0)