Skip to content

chore(ci): upgrade GitHub Actions to latest major versions#311

Open
Maratik555 wants to merge 1 commit into
openzim:mainfrom
Maratik555:chore/upgrade-ci-actions
Open

chore(ci): upgrade GitHub Actions to latest major versions#311
Maratik555 wants to merge 1 commit into
openzim:mainfrom
Maratik555:chore/upgrade-ci-actions

Conversation

@Maratik555
Copy link
Copy Markdown

Closes #310.

Bumps actions referenced in .github/workflows/* to their latest major versions, moving them onto Node 24 runtimes ahead of GitHub's Node 20 deprecation.

Action Before After
actions/checkout v4 v6
actions/setup-python v5 v6
actions/setup-node v4 v6
actions/upload-artifact v4 v7
actions/download-artifact v4 v8
codecov/codecov-action v4 v6
pypa/gh-action-pypi-publish release/v1.12 release/v1.14

Notes

  • upload-artifact@v5 introduced a breaking change in default artifact behaviour, but v7 is the current major and consistent with the matching download-artifact@v8.
  • codecov/codecov-action@v5+ switched to the wrapper for the new Codecov uploader; the existing token and fail_ci_if_error inputs continue to work.
  • pypa/gh-action-pypi-publish is referenced via its release/v1.14 branch, matching upstream's recommended pinning style and the previous release/v1.12.
  • The commented-out publish-js block at the bottom of Publish.yaml was bumped in the same pass so it stays consistent if re-enabled later.

Testing

CI on this PR will exercise every bumped action across the QA and Tests workflows. The Publish workflow only runs on release publication, so it can't be exercised here, but it uses the same action set.

Bumps actions referenced in .github/workflows/* to their latest
major versions. This moves the actions onto Node 24 runtimes,
ahead of GitHub's deprecation of Node 20.

  - actions/checkout              v4 -> v6
  - actions/setup-python          v5 -> v6
  - actions/setup-node            v4 -> v6
  - actions/upload-artifact       v4 -> v7
  - actions/download-artifact     v4 -> v8
  - codecov/codecov-action        v4 -> v6
  - pypa/gh-action-pypi-publish   release/v1.12 -> release/v1.14

Closes openzim#310
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.

Upgrade Github CI actions to latest major

1 participant