pypa / pypa/setuptools

[CI] Upgrade GitHub Actions to v4

Open
#5,148 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.9k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Summary

Upgrade GitHub Actions workflows to use v4 versions of deprecated actions.

Motivation

The CI workflows currently use deprecated versions of GitHub Actions that have reached end-of-life:

  • actions/checkout@v3
  • actions/upload-artifact@v3

These versions are no longer maintained by GitHub and should be upgraded to their actively supported v4 counterparts to:

  1. Ensure CI/CD pipeline stability
  2. Use secure, maintained versions of these critical workflow actions
  3. Prevent potential failures from deprecated action versions

Details

This is a routine infrastructure maintenance task to keep the GitHub Actions in .github/workflows/ current with GitHub's recommendations.

Files affected

  • .github/workflows/ci-sage.yml and .github/workflows/main.yml - all workflow files using v3 actions will be updated to v4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with .github/workflows/ci-sage.yml and .github/workflows/main.yml, locating uses of actions/checkout@v3 and actions/upload-artifact@v3. Update those deprecated action references to v4, then verify that all workflow files no longer use the v3 versions and that the CI workflows remain valid.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.