Skip to content

Update Outdated GitHub Actions Versions in CI Workflow #349

@abhishek-8081

Description

@abhishek-8081

Description

The CI workflow file (.github/workflows/main.yaml) currently uses outdated versions of GitHub Actions:

  • actions/checkout@v3 — latest stable is v4
  • actions/setup-python@v3 — latest stable is v5

Why This Matters

  • Node.js 16 deprecation: GitHub has deprecated the Node.js 16 runtime. Actions still on v3 rely on Node.js 16, which will eventually stop working and already triggers deprecation warnings in CI logs.
  • Security patches: Newer versions include important security fixes and hardening.
  • Performance improvements: v4 of actions/checkout uses a newer Git version and is faster for large repos.

Current Code

# .github/workflows/main.yaml (lines 20-24)
steps:
  - uses: actions/checkout@v3
  - name: Set up Python ${{ matrix.python-version }}
    uses: actions/setup-python@v3

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions