Skip to content

Commit ed2dd16

Browse files
authored
Updated codeQL action to v3 (#216)
* Updated codeQL action to v3 * Remove useless parameter from codeQL action
1 parent 5f44be8 commit ed2dd16

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/actions/codeql/action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ runs:
1212
using: "composite"
1313
steps:
1414
- name: Initialize CodeQL
15-
uses: github/codeql-action/init@v2
15+
uses: github/codeql-action/init@v3
1616
with:
1717
languages: ${{ inputs.language }}
18-
setup-python-dependencies: false
1918
source-root: ${{ inputs.working_directory }}
2019

2120
- name: Perform CodeQL Analysis
22-
uses: github/codeql-action/analyze@v2
21+
uses: github/codeql-action/analyze@v3
2322

2423

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@
1515
* pylint 3.2.6 -> 3.3.5
1616
* Removed `awalsh128/cache-apt-pkgs-action@latest` action and rewrote APT caching using GitHub's `actions/cache/restore@v4` and `actions/cache/save@v4`.
1717
* Added both frontend and backend exclusions on _detect_changes.yaml (paths that won't be considered by git diff)
18+
* Updated CodeQL action v2 -> v3 (v2 has been [deprecated](https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/) on december '24)
19+
* Removed `setup-python-dependencies` from `codeql/action.yml` since it has no effect anymore. See [this](https://github.blog/changelog/2024-01-23-codeql-2-16-python-dependency-installation-disabled-new-queries-and-bug-fixes/) for more information.

actions/codeql/action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ runs:
1212
using: "composite"
1313
steps:
1414
- name: Initialize CodeQL
15-
uses: github/codeql-action/init@v2
15+
uses: github/codeql-action/init@v3
1616
with:
1717
languages: ${{ inputs.language }}
18-
setup-python-dependencies: false
1918
source-root: ${{ inputs.working_directory }}
2019

2120
- name: Perform CodeQL Analysis
22-
uses: github/codeql-action/analyze@v2
21+
uses: github/codeql-action/analyze@v3
2322

2423

0 commit comments

Comments
 (0)