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
Description
The CI workflow file (.github/workflows/main.yaml) currently uses outdated versions of GitHub Actions:
actions/checkout@v3— latest stable is v4actions/setup-python@v3— latest stable is v5Why This Matters
actions/checkoutuses a newer Git version and is faster for large repos.Current Code