Skip to content

⬆️ Update runners and prek checks#775

Merged
denialhaag merged 6 commits intomainfrom
update-dependencies
Jan 30, 2026
Merged

⬆️ Update runners and prek checks#775
denialhaag merged 6 commits intomainfrom
update-dependencies

Conversation

@denialhaag
Copy link
Member

@denialhaag denialhaag commented Jan 30, 2026

Description

This PR updates the CI to use macos-15 instead of macos-14 and windows-2025 instead of windows-2022. It furthermore updates .pre-commit-config.yml to make use of prek's priority feature.

Checklist:

  • The pull request only contains commits that are focused and relevant to this change.
  • I have added appropriate tests that cover the new/changed functionality.
  • I have updated the documentation to reflect these changes.
  • I have added entries to the changelog for any noteworthy additions, changes, fixes, or removals.
  • I have added migration instructions to the upgrade guide (if needed).
  • The changes follow the project's style guidelines and introduce no new warnings.
  • The changes are fully tested and pass the CI checks.
  • I have reviewed my own code changes.

@denialhaag denialhaag self-assigned this Jan 30, 2026
@denialhaag denialhaag added dependencies Pull requests that update a dependency file continuous integration Anything related to the CI setup pre-commit Pull requests that update pre-commit checks labels Jan 30, 2026
@github-project-automation github-project-automation bot moved this to In Progress in MQT Simulation Jan 30, 2026
@coderabbitai
Copy link

coderabbitai bot commented Jan 30, 2026

Warning

Rate limit exceeded

@denialhaag has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 11 minutes and 15 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📝 Walkthrough

Walkthrough

This PR modernizes GitHub Actions workflows to use newer runner versions (macOS 15, Windows 2025, Ubuntu slim), updates CI matrix configurations with expanded test coverage, comprehensively restructures pre-commit hooks into priority-ordered tiers with better categorization, and adjusts nanobind version constraints in the build system.

Changes

Cohort / File(s) Summary
GitHub Actions Runner Updates
.github/workflows/cd.yml, .github/workflows/ci.yml, .github/workflows/release-drafter.yml, .github/workflows/templating.yml, .github/workflows/upstream.yml
Updated runner images and matrix configurations: replaced macos-14 with macos-15/macos-15-intel, replaced windows-2022 with windows-2025, and changed lightweight jobs from ubuntu-latest to ubuntu-slim.
Pre-commit Configuration Restructuring
.pre-commit-config.yaml
Reorganized hooks into priority-based tiers (0–3), added new validation hooks (validate-pyproject, check-jsonschema, check-github-workflows, check-readthedocs), removed deprecated hooks (nb-clean, texthooks, pygrep-hooks), added contextual comments, and adjusted hook execution order for effectiveness.
Build Configuration
pyproject.toml
Tightened nanobind version constraint from >=2.10.2 to ~=2.10.2 in build-system and dependency-groups; added PC170 to repo-review ignore list.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

minor, python

Suggested reviewers

  • burgholzer

Poem

🐰 The runners hop to versions new,
With macOS fifteen in the queue,
Pre-commit hooks align just right,
In tiers of priority and might,
Our CI pipelines shine so bright! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly references the main changes: updating runners to newer versions and implementing prek's priority feature in pre-commit checks.
Description check ✅ Passed The description covers the main changes (runner updates and prek priority feature) and provides a properly filled checklist. Some non-critical sections are not marked, but this is acceptable given the nature of the changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch update-dependencies

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In @.github/workflows/ci.yml:
- Line 193: The workflow uses an invalid runner label in the runs-on array:
change the incorrect "windows-2024" token in the runs-on: [macos-14,
windows-2024] entry to a valid GitHub Actions Windows runner such as
"windows-2025" (or "windows-2022"/"windows-11-arm" if you prefer), updating the
runs-on array accordingly to ensure the job runs on supported Windows images.

@codecov
Copy link

codecov bot commented Jan 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@denialhaag denialhaag requested a review from burgholzer January 30, 2026 17:08
Co-authored-by: Lukas Burgholzer <burgholzer@me.com>
Signed-off-by: Daniel Haag <121057143+denialhaag@users.noreply.github.com>
@denialhaag denialhaag enabled auto-merge (squash) January 30, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

continuous integration Anything related to the CI setup dependencies Pull requests that update a dependency file pre-commit Pull requests that update pre-commit checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants