Skip to content

ci: bump checkout v2/3 to v6 and CodeQL v2 to v4#3544

Merged
AndreasFuchsTPM merged 1 commit intotpm2-software:masterfrom
hyperfinitism:ci/bump-deprecated-actions
Feb 10, 2026
Merged

ci: bump checkout v2/3 to v6 and CodeQL v2 to v4#3544
AndreasFuchsTPM merged 1 commit intotpm2-software:masterfrom
hyperfinitism:ci/bump-deprecated-actions

Conversation

@hyperfinitism
Copy link
Contributor

@hyperfinitism hyperfinitism commented Feb 3, 2026

Summary

This PR updates GitHub Actions to avoid deprecated CodeQL version and EoL Node.js runtimes.

  • Bump github/codeql-action from v2 to v4 in .github/workflows/codeql.yml
  • Bump actions/checkout from v2/v3 to v6 in:
    • .github/workflows/codeql.yml
    • .github/workflows/main.yml
    • .github/workflows/cron.yml
    • .github/workflows/tss2master.yml

No workflow logic is changed; only action versions are updated.

Motivation

CodeQL v2 deprecation

GitHub has deprecated github/codeql-action v2 and v3 and recommends migrating to v4.

actions/checkout v2 and v3 depend on deprecated Node.js version

actions/checkout major versions are tied to specific Node.js runtimes:

  • v2: Node.js 12 (EoL)
  • v3: Node.js 16 (EoL)
  • v4: Node.js 20 (will reach EoL at the end of April 2026)
  • v5/v6: Node.js 24 (Active LTS)

Moving to actions/checkout@v6 avoids relying on EoL or soon-to-be-EoL Node.js versions and aligns the CI with currently supported runtimes.

References:

Testing

On my fork, all jobs that do not depend on upstream-only secrets or specific upstream tags are green; only the upstream-only jobs are skipped or expected to fail.

Avoid deprecated CodeQL version and EoL Node.js runtimes.

Signed-off-by: Takuma IMAMURA <209989118+hyperfinitism@users.noreply.github.com>
@hyperfinitism hyperfinitism force-pushed the ci/bump-deprecated-actions branch from ed8cb3c to bd9e594 Compare February 3, 2026 15:56
@hyperfinitism hyperfinitism changed the title ci: bump checkout v2/3 to v6 and CodeQL v2 to v3 ci: bump checkout v2/3 to v6 and CodeQL v2 to v4 Feb 3, 2026
@AndreasFuchsTPM AndreasFuchsTPM merged commit 56800e4 into tpm2-software:master Feb 10, 2026
23 checks passed
@hyperfinitism hyperfinitism deleted the ci/bump-deprecated-actions branch February 10, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants