Skip to content

Align the GitHub Action versions across jobs - #74

Merged
gyli merged 1 commit into
masterfrom
ci/align-action-versions
Sep 17, 2026
Merged

gyli merged 1 commit into
masterfrom
ci/align-action-versions

Conversation

@gyli

@gyli gyli commented Sep 17, 2026

Copy link
Copy Markdown
Owner

No description provided.

…g on the job:

| job | checkout | setup-python | upload-artifact |
|---|---|---|---|
| `test`, `lint`, `build` | v7 | v7 | v7 |
| `deprecations`, `matplotlib-prerelease`, `images`, `examples` | **v4** | **v5** | **v4** |

Not deliberate. The Dependabot PRs (#39 to #43) bumped the jobs that existed when they ran, and the four jobs added afterwards were written against the versions that were current at the time.

It matters a little beyond tidiness: the four stale jobs are the ones running the suite against matplotlib pre-releases, comparing images, and executing the demo notebook. Having them on an older runner action is the opposite of what you want from jobs whose whole purpose is early warning. It also leaves Dependabot with stale pins to keep re-reporting.

## Change

Nine lines, all version pins, no logic touched. Everything now matches what the repository already trusts elsewhere: `checkout@v7`, `setup-python@v7`, `upload-artifact@v7`, `download-artifact@v8`.

`codecov/codecov-action@v6` is untouched, being third-party and already consistent.

Verified both workflow files still parse and the job sets are unchanged:

```
test.yml:    build, deprecations, examples, images, lint, matplotlib-prerelease, test
publish.yml: build, publish
```

CI running green on this PR is itself the check that the bumped actions work.
BODY
gh pr create --base master --head ci/align-action-versions --title 'Align the GitHub Action versions across jobs' --body-file /tmp/pr74body.md 2>&1 | tail -1
Align the GitHub Action versions across jobs

test.yml pinned the same actions at two different versions depending on the job: the
test, lint and build jobs on checkout@v7 and setup-python@v7, and the deprecations,
matplotlib-prerelease, images and examples jobs on v4 and v5.

Not deliberate. The Dependabot PRs bumped the jobs that existed when they ran, and the
four jobs added afterwards were written against what was current then.

The stale four are the jobs running against matplotlib pre-releases, comparing images and
executing the demo notebook, so they are the ones that should not be on an older runner
action. It also leaves Dependabot stale pins to keep re-reporting.

Nine version pins, no logic changed.
@gyli
gyli merged commit bb6215f into master Sep 17, 2026
13 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.

1 participant