aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/codeql-analysis.yml
diff options
context:
space:
mode:
authorBobby <[email protected]>2026-04-28 15:59:15 +0530
committerGitHub <[email protected]>2026-04-28 15:59:15 +0530
commit415819e9126caa2027771cdb1b900ea7d4f3e238 (patch)
treeca295c1e661811e7fd78d1d0a677e303ab530c05 /.github/workflows/codeql-analysis.yml
parent7faf56a6fc95a002d24f2558eca5e727c9e8dde4 (diff)
parent8040f1db4809765ae73897cfcebd37d702a953c6 (diff)
downloadedify-415819e9126caa2027771cdb1b900ea7d4f3e238.tar.xz
edify-415819e9126caa2027771cdb1b900ea7d4f3e238.zip
chore: bump GitHub Actions to current major versions (#35)
## Summary Pure version bumps for the four GitHub Actions referenced under `.github/workflows/`. No behavior change — actions are pinned to current majors (or the current SHA, in the case of the third-party publish action). | File | Action | Before | After | |---|---|---|---| | `github-actions.yml`, `coverage.yml`, `python-publish.yml`, `codeql-analysis.yml` | `actions/checkout` | `@v3` | `@v5` | | `github-actions.yml`, `coverage.yml`, `python-publish.yml` | `actions/setup-python` | `@v3` | `@v5` | | `codeql-analysis.yml` | `github/codeql-action/{init,autobuild,analyze}` | `@v2` | `@v3` | | `python-publish.yml` | `pypa/gh-action-pypi-publish` | old SHA | `v1.14.0` SHA + version comment | ## Why now The `@v3` actions ran on the **Node 16 runtime**, which reached end-of-life in 2023 and is on borrowed time on GitHub-hosted runners. `@v5` (and `codeql-action @v3`) all use Node 20, the current supported runtime. We were also missing security/bug fixes shipped in newer majors. ## Conventions used - First-party actions (`actions/*`, `github/*`) → floating major-version tag (`@v5`, `@v3`). Standard for first-party, low supply-chain risk. - Third-party action (`pypa/gh-action-pypi-publish`) → stays SHA-pinned for supply-chain safety. The trailing `# v1.14.0` comment makes the human-readable version visible without sacrificing the immutable pin. Closes #34
Diffstat (limited to '.github/workflows/codeql-analysis.yml')
-rw-r--r--.github/workflows/codeql-analysis.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 921fe4c..94c2055 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -38,11 +38,11 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v5
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@v2
+ uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -56,7 +56,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
- uses: github/codeql-action/autobuild@v2
+ uses: github/codeql-action/autobuild@v3
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -69,4 +69,4 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v2
+ uses: github/codeql-action/analyze@v3