Skip to content

Comments

Refactor workflow #1362

Merged
liudger merged 2 commits intomainfrom
maintenance
Feb 23, 2026
Merged

Refactor workflow #1362
liudger merged 2 commits intomainfrom
maintenance

Conversation

@liudger
Copy link
Owner

@liudger liudger commented Feb 23, 2026

This pull request simplifies and consolidates the project's GitHub Actions workflows for linting and typing checks. The main change is the removal of multiple separate jobs for different linters and type checkers, replacing them with a single unified job that runs all relevant checks using Prek hooks. This streamlines CI configuration and maintenance.

Workflow consolidation and simplification:

  • Replaced individual jobs for codespell, ruff, prek-hooks, pylint, and yamllint in .github/workflows/linting.yaml with a single lint job that runs all Prek hooks at once. This reduces redundancy and centralizes linting logic. [1] [2]
  • Removed the entire .github/workflows/typing.yaml file, eliminating the separate typing check job (ty). Typing checks are now assumed to be handled via Prek hooks or another unified mechanism.

Copilot AI review requested due to automatic review settings February 23, 2026 10:44
@liudger liudger added the ci Work that improves the continue integration. label Feb 23, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR consolidates GitHub Actions linting and typing checks by removing the standalone typing workflow and replacing multiple linting jobs with a single unified Prek-based lint job.

Changes:

  • Replaced multiple linter/type-check jobs in linting.yaml with a single lint job running Prek hooks.
  • Removed the dedicated typing workflow (typing.yaml), intending for typing checks to be covered elsewhere (e.g., Prek).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/linting.yaml Consolidates multiple linting/type-check steps into one Prek-driven job (plus existing Prettier job).
.github/workflows/typing.yaml Removes separate ty workflow/job for typing checks.

@codecov
Copy link

codecov bot commented Feb 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.88%. Comparing base (cb1e38a) to head (4123ccd).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1362   +/-   ##
=======================================
  Coverage   99.88%   99.88%           
=======================================
  Files           6        6           
  Lines         907      907           
  Branches      128      128           
=======================================
  Hits          906      906           
  Partials        1        1           

☔ 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.

@sonarqubecloud
Copy link

@liudger liudger merged commit 4500060 into main Feb 23, 2026
14 checks passed
@liudger liudger deleted the maintenance branch February 23, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Work that improves the continue integration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant