Skip to content

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

Merged
benoit74 merged 1 commit into
openzim:mainfrom
Maratik555:chore/upgrade-ci-actions
Jun 1, 2026
Merged

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

Conversation

@Maratik555
Copy link
Copy Markdown
Contributor

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
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (dc5eb99) to head (3843100).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #311   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           41        41           
  Lines         2555      2555           
  Branches       365       365           
=========================================
  Hits          2555      2555           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@benoit74 benoit74 self-requested a review June 1, 2026 07:51
Copy link
Copy Markdown
Collaborator

@benoit74 benoit74 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@benoit74 benoit74 merged commit 295fefc into openzim:main Jun 1, 2026
10 checks passed
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

2 participants