Skip to content

ci: update action versions, fix broken upload-artifact v3 steps - #530

Open
katsugtgz wants to merge 2 commits into
pythonspeed:masterfrom
katsugtgz:ci/update-action-versions
Open

katsugtgz wants to merge 2 commits into
pythonspeed:masterfrom
katsugtgz:ci/update-action-versions

Conversation

@katsugtgz

Copy link
Copy Markdown

Updates the action versions in .github/workflows/main.yml.

Changes:

  • actions/checkout@v3 -> v7
  • actions/setup-python@v4 -> v7
  • actions/upload-artifact@v3 -> v7
  • docker/setup-qemu-action@v2 -> v4
  • Swatinem/rust-cache@v1 -> v2

The upload-artifact bump is the important one: v3 was sunset in January 2025, so the wheel upload steps in the tests and arm-wheels jobs fail on every run.

Two things I left alone on purpose:

  • actions-rs/toolchain@v1 is archived, but dtolnay/rust-toolchain is not a drop-in replacement and I did not want to mix that into a version bump.
  • The ubuntu-20.04 matrix entry is a retired runner image. That needs a maintainer call (20.04 pins the manylinux build environment), so it is unchanged here.

Validation: YAML parse of the edited workflow passes. Inputs in use (name, path, fetch-depth, python-version, key, platforms) all exist in the new majors; setup-python v7 only removed pip-install, which this workflow does not use.

Scope: .github/workflows/main.yml only.

checkout v3 -> v7, setup-python v4 -> v7, upload-artifact v3 -> v7,
setup-qemu v2 -> v4, rust-cache v1 -> v2.

upload-artifact v3 is sunset, so wheel uploads fail on every run.
@katsugtgz

Copy link
Copy Markdown
Author

Note: the workflow run on this PR is queued behind first-time-contributor approval ("action_required"). It needs a maintainer click to start; I did not and cannot approve it myself.

@katsugtgz

Copy link
Copy Markdown
Author

Sorry for the extra push. I missed the checkout reference in benchmarks.yml in the original branch; the branch now updates it too.

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.

1 participant