Skip to content

CI: update checkout, setup-python, codecov - #29

Merged
ChristianGeng merged 1 commit into
mainfrom
fix/ci-action-versions
Aug 5, 2026
Merged

CI: update checkout, setup-python, codecov#29
ChristianGeng merged 1 commit into
mainfrom
fix/ci-action-versions

Conversation

@ChristianGeng

Copy link
Copy Markdown
Member

Summary

GitHub Actions is deprecating the Node.js 20 runtime used by older
action versions. This bumps the affected actions in this repo's
workflows:

  • actions/checkout@v4 -> actions/checkout@v7
  • actions/setup-python@v5 -> actions/setup-python@v7
  • codecov/codecov-action@v4 -> codecov/codecov-action@v7
    (and renames its file: input to files: in test.yml, since v5+
    dropped the singular form)

Affected files: linter.yml, publish.yml, test.yml.

Note on scope: this repo does not use astral-sh/setup-uv at
all — all installs go through plain pip install — so the
uv-caching bug fix that was part of the sibling PRs in this rollout
does not apply here. This PR is scoped solely to the Node.js 20
action bumps.

This is part of the same CI-action-version rollout applied to:
audeering/audeer#206, audeering/opensmile-python#132,
audeering/audb#591, audeering/audformat#539,
audeering/audbackend#307, audeering/audresample#83,
audeering/auglib#60, audeering/audonnx#115,
audeering/audinterface#206, audeering/audiofile#193,
audeering/audmath#76, audeering/audmetric#94,
audeering/audmodel#63, audeering/audobject#127,
audeering/audplot#89.

Test plan

  • CI passes on this PR (linter, test matrix, docs build/linkcheck)
  • Manually verified no other Node.js-20-deprecated action versions
    remain in .github/workflows/
  • Confirmed peaceiris/actions-gh-pages@v4 and
    pypa/gh-action-pypi-publish@release/v1 in publish.yml are
    left untouched (already fine, out of scope)

🤖 Generated with Claude Code

GitHub Actions is deprecating the Node.js 20 runtime used by older
action versions. Bump actions/checkout v4 -> v7, actions/setup-python
v5 -> v7, and codecov/codecov-action v4 -> v7 across linter.yml,
publish.yml, and test.yml. The codecov-action v5+ line dropped the
singular `file:` input in favor of `files:`, so that key is renamed
in test.yml accordingly.

This repo has no `astral-sh/setup-uv` usage at all (installs are
plain `pip install`), so the uv-caching bug fix applied to sibling
repos in this rollout does not apply here — this change is scoped to
the Node.js 20 action bumps only.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@sourcery-ai

sourcery-ai Bot commented Aug 5, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR updates GitHub Actions workflows to use newer action versions that no longer depend on the deprecated Node.js 20 runtime, and adjusts Codecov configuration to match the new action API.

File-Level Changes

Change Details Files
Update checkout action versions in all workflows to a Node.js-20-independent release.
  • Bump actions/checkout from v4 to v7 in test workflow
  • Bump actions/checkout from v4 to v7 in linter workflow
  • Bump actions/checkout from v4 to v7 in publish workflow
.github/workflows/test.yml
.github/workflows/linter.yml
.github/workflows/publish.yml
Update Python setup action versions in all workflows to a Node.js-20-independent release.
  • Bump actions/setup-python from v5 to v7 in test matrix workflow
  • Bump actions/setup-python from v5 to v7 in linter workflow
  • Bump actions/setup-python from v5 to v7 in publish workflow
.github/workflows/test.yml
.github/workflows/linter.yml
.github/workflows/publish.yml
Update Codecov GitHub Action to v7 and align inputs with the new version.
  • Bump codecov/codecov-action from v4 to v7 in test workflow
  • Rename Codecov input key from file to files in coverage upload step to conform with v5+ API
.github/workflows/test.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@hagenw hagenw changed the title Bump checkout/setup-python/codecov-action off Node.js 20 CI: update checkout, setup-python, setup-uv, codecov Aug 5, 2026
@hagenw hagenw changed the title CI: update checkout, setup-python, setup-uv, codecov CI: update checkout, setup-python, codecov Aug 5, 2026
@ChristianGeng
ChristianGeng requested a review from hagenw August 5, 2026 13:20
@ChristianGeng
ChristianGeng merged commit d57fb6e into main Aug 5, 2026
9 checks passed
@ChristianGeng
ChristianGeng deleted the fix/ci-action-versions branch August 5, 2026 13:29
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.

2 participants