Conversation
There was a problem hiding this comment.
Pull request overview
Updates the GitHub Actions workflow to use the *-latest GitHub-hosted runner labels instead of pinned runner image versions.
Changes:
- Switch matrix OS targets from pinned versions to
ubuntu-latest,macos-latest, andwindows-latest.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| fail-fast: false | ||
| matrix: | ||
| os: [ubuntu-22.04, macos-14, windows-2022] | ||
| os: [ubuntu-latest, macos-latest, windows-latest] |
There was a problem hiding this comment.
Using ubuntu-latest / macos-latest / windows-latest makes release builds non-deterministic because GitHub periodically repoints these labels to newer OS images. For wheel publishing this can unexpectedly change the toolchain / SDK and (especially on macOS/Windows) can change the effective minimum supported OS for produced wheels or break builds without any repo change. Consider pinning to specific runner images (e.g., ubuntu-22.04, macos-14, windows-2022) and updating them intentionally on a schedule, or add a clear justification and a plan to monitor runner label updates if you keep *-latest.
https://docs.github.com/en/actions/reference/runners/github-hosted-runners