This repository was archived by the owner on Apr 7, 2026. It is now read-only.
add CI workflow #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| jobs: | |
| ci: | |
| name: CI | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Static code check | |
| run: uv run poe checker | |
| - name: Check docs build | |
| working-directory: ./docs | |
| run: | | |
| pwd | |
| ls | |
| uv | |
| uv run sphinx-build | |
| make html | |
| - name: Check PR title style | |
| uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| const title = context.payload.pull_request.title; | |
| const regex = /^(feat|fix|refactor|doc|perf|style|test|chore|revert)!?:[ ][a-z].*$/; | |
| if (!regex.test(title)) { | |
| core.setFailed( | |
| `PR title "${title}" does not match the expected conventional commit format` | |
| ); | |
| } |