diff --git a/.github/actions/codeql/action.yml b/.github/actions/codeql/action.yml index b49e2b6..22c16e1 100644 --- a/.github/actions/codeql/action.yml +++ b/.github/actions/codeql/action.yml @@ -12,13 +12,12 @@ runs: using: "composite" steps: - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ inputs.language }} - setup-python-dependencies: false source-root: ${{ inputs.working_directory }} - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1eec48a..c336b82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,3 +15,5 @@ * pylint 3.2.6 -> 3.3.5 * Removed `awalsh128/cache-apt-pkgs-action@latest` action and rewrote APT caching using GitHub's `actions/cache/restore@v4` and `actions/cache/save@v4`. * Added both frontend and backend exclusions on _detect_changes.yaml (paths that won't be considered by git diff) +* 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) +* 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. diff --git a/actions/codeql/action.yml b/actions/codeql/action.yml index b49e2b6..22c16e1 100644 --- a/actions/codeql/action.yml +++ b/actions/codeql/action.yml @@ -12,13 +12,12 @@ runs: using: "composite" steps: - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ inputs.language }} - setup-python-dependencies: false source-root: ${{ inputs.working_directory }} - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3